Revision [875]
This is an old revision of CommandXslt made by DavidLee on 2009-11-23 06:56:32.
Command xslt
Name
xslt executes an XSLT transformation and print the resultSynopsis
xslt [-f xslt file] [-i input-file] [-n] [-method output-method] [-v] [xquery-expr] [var value [var value]]Description
-f xslt-file read xslt script from file-i context use context as the source xml document, otherwise stdin
if context is an XML expression which is an item then use it directly as the context item.
-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
$ xslt -f /path/file.xsl -i foo.xml
Return Value
Returns 0 if the the xslt executed successfully. otherwise 1Commands
CategoryCommands