indiWiz.com

Subhash's Tech Log

Linux command-line XSLT

without comments

To convert an XML based on a XSL, use this command:

$ xsltproc /path/to/xsl.xsl /path/to/xml.xml

The converted document will be written to STDOUT. To write to a particular file, you may use the -o parameter:

$ xsltproc /path/to/xsl.xsl /path/to/xml.xml -o out.html

Check the info/man pages for additional information.

Written by Subhash Chandran

February 2nd, 2009 at 5:28 pm

Posted in Linux

Tagged with , ,

Leave a Reply