Revision [957]
This is an old revision of CommandXslt1 made by DavidLee on 2009-11-24 18:54:54.
Command xslt1
Name
xslt1 executes an XSLT Version 1 transformation and print the resultSynopsis
xslt1 [ serialization options ] [-f xslt file] [-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 |
Supports the standard [ serialization options ]
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 1Commands
CategoryCommands