|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Doc2Xml
Richard, You are right. The version of the program you have can't do that. I have updated the HTML page at http://www.geocities.com/SiliconValley/Platform/4871/ The zip files are updated also. You have to get a copy of the program to make it work the way you want. Best regards, Suli > ---------- > From: Sargeant, Richard (GEIS) > Sent: Wednesday, November 11, 1998 9:24 AM > To: Ding, Suli (GEIS) > Subject: Doc2Xml > > Hi Suli, > > I have been trying your Doc2Xml program and have a question. How do I > create new tag pairs inside other tag pairs ? > > For Example: > My input file is an Edifact document and the sender & receiver fields > contain qualifiers... > > > UNB+UNOA:1+RICHARD:ZZ+SARGEANT:ZZ+971029:0847+REF00032++*ANY'UNH+1+ORDERS. > ..etc > > If I run this via your example table the results looks like... > > <?xml version="1.0"?> > <UNB Version="1" Date="971029" Time="0847"> > <SenderId>RICHARD</SenderId> > <SenderQual>ZZ</SenderQual> > <ReceiverId>SARGEANT</ReceiverId> > <ReceiverQual>ZZ</ReceiverQual> > <IntCtlRef>REF00032</IntCtlRef> > <Pswd></Pswd> > <AppRef>*ANY</AppRef> > <UNH MsgRef="1" MsgType="ORDERS" > > However, what I would like to output is... > > <?xml version="1.0"?> > <UNB Version="1" Date="971029" Time="0847"> > <Sender> > <SenderId>RICHARD</SenderId> > <SenderQual>ZZ</SenderQual> > </Sender> > <Receiver> > <ReceiverId>SARGEANT</ReceiverId> > <ReceiverQual>ZZ</ReceiverQual> > </Receiver> > <IntCtlRef>REF00032</IntCtlRef> > <Pswd></Pswd> > <AppRef>*ANY</AppRef> > <UNH MsgRef="1" MsgType="ORDERS" > > I have tried various combinations without success. Is this possible ? > > regards > Richard Sargeant > > e GE Information Services__________________ > Prof.E.M.Meijerslaan 1 > 1183 AV Amstelveen > Netherlands > > Tel: +31 20 503 5576 Dialcomm: 381 5576 > Fax: +31 20 640 3825 Dialcomm: 550 3825 > Mobile: +31 653 930239 > internal web site: http://luggage.is.ge.com > __________________________________________ > > xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








