Revision [1357]

Last edited on 2010-05-04 05:24:37 by DavidLee
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||
Deletions:
||-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||


Revision [1356]

Edited on 2010-05-04 05:21:52 by DavidLee
Additions:
xslt -f /path/file.xsl -cf foo.xml
Deletions:
xslt -f /path/file.xsl -i foo.xml


Revision [1236]

Edited on 2010-02-15 10:26:56 by DavidLee
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||
Deletions:
||-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||
||-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||


Revision [1166]

Edited on 2010-02-05 14:38:56 by DavidLee
Additions:
**xslt** executes an XSLT version 2.0 transformation and print the result
Deletions:
**xslt** executes an XSLT transformation and print the result


Revision [1073]

Edited on 2009-11-29 10:36:22 by DavidLee
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
Deletions:
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.||


Revision [955]

Edited on 2009-11-24 18:52:34 by DavidLee

No Differences

Revision [954]

Edited on 2009-11-24 18:52:27 by DavidLee
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
Deletions:
xslt [-f xslt file] [-i input-file] [-n] [-method output-method] [-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
-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


Revision [875]

Edited on 2009-11-23 06:56:32 by DavidLee
Additions:
[[Commands]]


Revision [874]

Edited on 2009-11-23 06:56:00 by DavidLee
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)
Deletions:
xslt [-f xslt file] [-i input-file] [-n] [-v] [xquery-expr] [var value [var value]]


Revision [791]

Edited on 2009-09-16 08:02:47 by DavidLee
Deletions:
[[CommandsInternal]]


Revision [349]

Edited on 2009-01-03 07:10:18 by DavidLee
Additions:
[[CommandsInternal]]


Revision [262]

Edited on 2008-07-15 12:12:56 by DavidLee
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
Deletions:
**xslt** runs an XSLT transformation
xslt
Returns 0 if the transformation ran successfully, otherwise 1.


Revision [127]

The oldest known version of this page was created on 2008-04-25 18:58:45 by DavidLee
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki