OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: Doc2Xml

[ Lists Home | Date Index | Thread Index ]
  • From: "Ding, Suli (GEIS)" <Suli.Ding@geis.ge.com>
  • To: "Sargeant, Richard (GEIS)" <Richard.Sargeant@geis.ge.com>
  • Date: Thu, 12 Nov 1998 14:50:01 -0500

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@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS