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

RE: xslt and edi question

Subject: RE: xslt and edi question
From: "Kuhn, Allen" <Akuhn@xxxxxxxxxxxx>
Date: Wed, 1 Aug 2001 13:00:23 -0400
javacc edi
Thanks !

 -----Original Message-----
From: 	Michael Kay [mailto:mhkay@xxxxxxxxxxxx] 
Sent:	Wednesday, August 01, 2001 12:53 PM
To:	xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:	RE:  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


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.