[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Non-xml source documents

Subject: RE: [xsl] Non-xml source documents
From: cknell@xxxxxxxxxx
Date: Wed, 05 Jan 2005 10:16:06 -0500

XSL is designed expressly for transforming XML documents. You won't have any luck in using it to transform something that isn't XML. I usually find that Perl is a very handy programming language for working with text documents and I have often used it to reformat non-XML documents into XML for further work.
Charles Knell
cknell@xxxxxxxxxx - email

-----Original Message-----
From:     Jim Neff <jneff@xxxxxxxxxxxxxxx>
Sent:     Wed, 5 Jan 2005 10:07:27 -0500
To:       <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Subject:  [xsl] Non-xml source documents


Would someone please point me to some resources on how to process non-xml
source documents?  

I have a text file that I want to convert to an xml document.  

I can use XSLT 2.

Thanks in advance,
Jim Neff

Current Thread