Revision [1166]

This is an old revision of CommandXslt made by DavidLee on 2010-02-05 14:38:56.

 

Command xslt


Name

xslt executes an XSLT version 2.0 transformation and print the result

Synopsis

xslt [ serialization options ] [options] [-v var value [var value]]

Description

-f xslt-file
-file
read xslt script from file
-i context
-input 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.
-c context
-context context
Use context as a literal context
-cf file
-context-file file
Use file as the name of an XML file for the context, or "-" for stdin
-n do not use a source context
-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 ]


-i is depreciated. It is a convenience option that does the following
-c or -cf are suggested which explicitly indicate if to use the expression literally or as a filename



Example

xslt -f /path/file.xsl -i foo.xml

Return Value

Returns 0 if the the xslt executed successfully. otherwise 1


Commands
CategoryCommands

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