I'm new to Altova Correct me if I'm wrong.
I'm in a situation to map XML schema File to X12 and here I have a problem to get the actual X12 structure.
Requirements: X12.6020 - 811 (Consolidated Service Invoice/Statement)
Picture of the Actual X12 Structure and My mapped X12 Structure
https://ibb.co/cWFBAa
Picture of the XML file
https://ibb.co/ggZDqa
Picture of the Mapping from XML to X12
https://ibb.co/k5qWbF
In the above XML all notice Objects are grouped using 'group-adjecent' library function based on 'contractId' and each group should have one 'Detail' and I need to iterate though the individual group and create 'Sub-detail' and 'Sub-sub-detail' for each notice under group.
I have used 'Add Duplicate Input After' function on EDI 811 Component to create a duplicate 'LoopHL' node. ie., 'LoopHL', 'LoopHL1', 'LoopHL2' in the mapping picture above.
Ask me if you need any further information, if you feel it will be helpful to understand my question.
Thanks in advance, guys.