Revision [877]

This is an old revision of CommandXslt1 made by DavidLee on 2009-11-23 06:59:59.

 

Command xslt1


Name

xslt1 executes an XSLT Version 1 transformation and print the result

Synopsis

xslt1 [-f xslt file] [-method output-method] [-v] [var value [var value]]

Description

-f xslt-file read xslt script from file

-v if -v is given then the remaining args are treated as name/value pairs and assigned to xslt external variables
-method output-method Changes the default output method for serialzation. Must be one of (xml,html,xhtml,text)

Example

$ xslt1 -f /path/file.xsl -i foo.xml


Notes

xslt1 uses the Saxon 6.5.5 implementation of XSLT. It should only be used if the version 2 xslt command does not work properly. The xslt1 command is not as fully featured, and forces serialization on the output even if redirected to an xml variable.


Return Value

Returns 0 if the the xslt executed successfully. otherwise 1


CategoryCommands

There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki