Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: [xsl] xslt and edi question

From: "Kuhn, Allen" <Akuhn@------------>
To:
Date: 8/1/2001 9:05:00 AM
Thanks !

 -----Original Message-----
From: 	Michael Kay [mailto:mhkay@xxxxxxxxxxxx] 
Sent:	Wednesday, August 01, 2001 12:53 PM
To:	xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:	RE: [xsl] xslt and edi question

> Is my assumption correct, that non-XML "data" documents can
> be converted
> using XSLT. Any clarification, or additional advice would be greatly
> appreciated.

The input to an XSLT conversion has to be a data structure that conforms
to
the XPath data model: typically this means it has to be something like a
DOM
or a SAX event stream. If you can massage the input data into this form,
you
can use XSLT to transform it.

However, a word of warning. Just putting a begin and end tag around a
complex ASCII file isn't going to help very much. XSLT isn't good at
handling implicit structure in the data, it likes the structure to be
explicit in the markup. So you should do all the parsing that's
necessary
before the data hits the stylesheet, using tools like Perl or JavaCC,
rather
than trying to use XSLT for parsing text.

Mike Kay
Software AG


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




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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent