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

RE: Document to XML Convertor

  • From: "Ding, Suli (GEIS)" <Suli.Ding@g...>
  • To: "'Petr Smolik'" <petrs@b...>
  • Date: Sun, 15 Nov 1998 20:44:52 -0500

document to xml
Peter,

Very good question. I spent part of this weekend to make "doc2xml" to
recognize a XML template file addition to the one you saw and used before.
An new option -xXML_template_file is added. The XML template must has
<TEMPLATE> tag as a template root. <HDTXT> and <TLTXT> can be used to wrap
message around the generated XML document. It must be specified as XML
comment. For example, 
	<HDTXT>
	<!--<?XML version="1.0" ?><DocumentRoo>-->
	</HDTXT>	

<HEADER> is used to specified header, attributes can be specified as
attributes with <HEADER>. Five predefined attributes are reserved for the
Record Identifier (MATCH="nn"), alternate tag name (ALTTAG="nn"),
sub-element separator (SUB="nn"), element separator(SEP="nn"), record
terminator (TER="nn"). <RID> tag is used to tell where to extract
information from a record (or segment).

I updated the zip files except the one for SUN platform, you can get them
from 
	http://www.geocities.com/SiliconValley/Platform/4871/

I converted the "edi.tbl" template file to a valid XML file and it is call
"edi.tbl.xml". It can be view at 
	http://www.geocities.com/SiliconValley/Platform/4871/editblxml.html

Let me know how you think. I will update my web page when I have time.

Thanks and best regards,

Suli Ding

> ----------
> From: 	Petr Smolik[SMTP:petrs@b...]
> Sent: 	Friday, November 13, 1998 7:34 AM
> To: 	suliding@y...
> Subject: 	Document to XML Convertor
> 
> 
> Greetings from Brno!
> I like your "Document to XML Convertor" activity. It is exactly
> what is needed. My question for you is: why the template is not
> an XML document? Why to design a new parser when we want to have
> only one parser - "the XML parser"?
> I'd be glad to hear from you and wish you lots of success.
> p.
> 
> Peter Smolik
> 
> 

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.