Hi:
I am an EDI analyst and have been working on an EDI2XML conversion for one
of our customers and have run into an issue that I cannot resolve. I am
hoping that someone has had similar experience and will share their solution
with me. I am converting an EDI 855 to and XML doc for our customer and
cannot resolve the following looping structure issue. We are passing a value
in the SAC segment that is to contain all PO1 segments, that immediately
follow, as child nodes of the SAC in the XML output. However, when there is
a new occurrence of the SAC, this should stop the population of the
remaining PO1's in the first SAC. Only the PO1s that directly follow the
last SAC should be contained in the nearest upper level SAC. Of course the
element nodes have different names than the EDI, but this is the structure
that I am looking for. I am able to write individual and repeating nodes for
the SAC (parent), but ALL PO1s included in the entire 855 are populating the
XML output at all levels of the SAC: they are not looping at the proper
level. If anyone has a suggestion, I would greatly appreciate it.
Thank You,
Brad Williams
Advanced Marketing Services
EDI Coordinator
ph(858)457-2500x2355
fax(858)812-6480
[EMAIL PROTECTED]
------ XML/edi Group Discussion List ------
Homepage = http://www.XMLedi-Group.org
Unsubscribe = send email to: [EMAIL PROTECTED]
Leave the subject and body of the message blank
Questions/requests: [EMAIL PROTECTED]
To receive only one message per day (digest format)
send the following message to [EMAIL PROTECTED],
(leave the subject line blank)
digest xmledi-group your-email-address
To join the XML/edi Group complete the form located at:
http://www.xmledi-group.org/xmledigroup/mail1.htm