Additions:
||-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 as parameters||
||-v||if -v is given then the remaining args are treated as name/value pairs and assigned to xslt as parameters||
Deletions:
||-v|| if -v is given then the remaining args are treated as name/value pairs and assigned to xslt external variables||
Additions:
xslt -f /path/file.xsl -cf foo.xml
Deletions:
Additions:
||-f,-file xslt-file|| read xslt script from file||
||-i,-input context||(depreciated) 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||Use context as a literal context||
||-cf,-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||
||-i,-input context||(depreciated) 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||Use context as a literal context||
||-cf,-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||
Deletions:
-file|| read xslt script from file||
||-i context
-input context||(depreciated) 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||
Additions:
**xslt** executes an XSLT version 2.0 transformation and print the result
Deletions:
Additions:
xslt [ [[SerializationOptions serialization options]] ] [options] [-v var value [var value]]
||-f xslt-file
-file|| read xslt script from file||
||-i context
-input context||(depreciated) 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||
-i is depreciated. It is a convenience option that does the following
- If context is an atomic value then treat as a filename to be loaded as the context item
- Otherwise treat as the literal context for the context item
-c or -cf are suggested which explicitly indicate if to use the expression literally or as a filename
||-f xslt-file
-file|| read xslt script from file||
||-i context
-input context||(depreciated) 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||
-i is depreciated. It is a convenience option that does the following
- If context is an atomic value then treat as a filename to be loaded as the context item
- Otherwise treat as the literal context for the context item
-c or -cf are suggested which explicitly indicate if to use the expression literally or as a filename
Deletions:
||-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.||
No Differences
Additions:
xslt [ [[SerializationOptions serialization options]] ] [-f xslt file] [-i input-file] [-n] [-v] [xquery-expr] [var value [var value]]
||-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||
Supports the standard [ [[SerializationOptions serialization options]] ]
xslt -f /path/file.xsl -i foo.xml
||-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||
Supports the standard [ [[SerializationOptions serialization options]] ]
xslt -f /path/file.xsl -i foo.xml
Deletions:
-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)
$ xslt -f /path/file.xsl -i foo.xml
Additions:
[[Commands]]
Additions:
xslt [-f xslt file] [-i input-file] [-n] [-method output-method] [-v] [xquery-expr] [var value [var value]]
-method output-method Changes the default output method for serialzation. Must be one of (xml,html,xhtml,text)
-method output-method Changes the default output method for serialzation. Must be one of (xml,html,xhtml,text)
Deletions:
Deletions:
Additions:
[[CommandsInternal]]
Additions:
======Command xslt======
**xslt** executes an XSLT transformation and print the result
xslt [-f xslt file] [-i input-file] [-n] [-v] [xquery-expr] [var value [var value]]
-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
====Example====
%%(shell)
$ xslt -f /path/file.xsl -i foo.xml
%%
Returns 0 if the the xslt executed successfully. otherwise 1
**xslt** executes an XSLT transformation and print the result
xslt [-f xslt file] [-i input-file] [-n] [-v] [xquery-expr] [var value [var value]]
-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
====Example====
%%(shell)
$ xslt -f /path/file.xsl -i foo.xml
%%
Returns 0 if the the xslt executed successfully. otherwise 1
Deletions:
xslt
Returns 0 if the transformation ran successfully, otherwise 1.