RE: [xsl] non-binary, non-XML, source files

Subject: RE: [xsl] non-binary, non-XML, source files
From: "Mark Wonsil" <wonsil@xxxxxxxxxx>
Date: Thu, 22 Aug 2002 09:50:39 -0400
> creates XML first, or is there a way for XSLT to work directly on
> non-binary, non-XML, source files?

If you know Java, you could generate SAX events from your data to make it
appear as an XML stream.  I believe in Michael Kay's Book there is an
example of this.  I think he created a SAX XMLReader class that reads GedCom
files (genealogy files).  You have to use an XSLT processor that can accept
a SAX input stream.  The other option is to convert the file to XML ahead of
time using Perl or Java.


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


Current Thread