RE: [xsl] reading a text file and putting out an xml file using xslt 2.0

Subject: RE: [xsl] reading a text file and putting out an xml file using xslt 2.0
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 28 Oct 2009 15:40:11 -0000
> Thank you. I have saxon9 downloaded. But I am not sure how to 
> run a transformation on the command line for a text input.
> Any help?
> 

Typically

java net.sf.saxon.Transform -xsl:stylesheet.xsl -it:main

or you might want to supply the name of the unparsed text file as a
parameter:

java net.sf.saxon.Transform -xsl:stylesheet.xsl -it:main input=text.xml

with

<xsl:param name="input"/>

and

select="unparsed-text($input)"

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 

Current Thread