Revision [874]

This is an old revision of CommandXslt made by DavidLee on 2009-11-23 06:56:00.

 

Command xslt


Name

xslt executes an XSLT transformation and print the result

Synopsis

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.

-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
-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 1


CategoryCommands

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