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

Re: generating XML from ini-file

Subject: Re: generating XML from ini-file
From: Rick Geimer <rick.geimer@xxxxxxx>
Date: Mon, 26 Apr 1999 09:02:59 -0700
xml to ini
Oliver,

Since your initial document is not XML, I don't think you could use XSL for
this transformation.

The typical way to do this kind of up-translation is to use a pattern
matching language to process the ini-file,  write out your XML as best you
can to match the structure required by the DTD, then parse the result to
make sure the output is error-free.

I typically use OmniMark, since it has a powerful pattern matching language
and a built-in XML parser, but you could do this with Perl as well,
especially with the XML module.

Hope this helps.

Rick Geimer
National Semiconductor
rick.geimer@xxxxxxx

"Bruening, Oliver" wrote:

> i have to generate a xml-document with a given dtd from data which has
> an ini-file structure (best case; the data comes from an ibm host ...).
>
> how can this to done in an elegant way ? my first idea was to traverse
> through the dtd and to add the fitting elements to the xml-file. is this
> the right way ? any examples or hints around ?
>
> regards
>   oliver bruening
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

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
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.