[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Doc2Xml

  • From: "Ding, Suli (GEIS)" <Suli.Ding@g...>
  • To: "Sargeant, Richard (GEIS)" <Richard.Sargeant@g...>
  • Date: Thu, 12 Nov 1998 14:50:01 -0500

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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.