| 1 |
XMLStarlet Toolkit: Transform XML document(s) using XSLT |
| 2 |
Usage: PROG tr [<options>] <xsl-file> {-p|-s <name>=<value>} [<xml-file>...] |
| 3 |
where |
| 4 |
<xsl-file> - main XSLT stylesheet for transformation |
| 5 |
<xml-file> - input XML document file/URL (stdin is used if missing) |
| 6 |
<name>=<value> - name and value of the parameter passed to XSLT processor |
| 7 |
-p - parameter is XPATH expression ("'string'" to quote string) |
| 8 |
-s - parameter is a string literal |
| 9 |
<options> are: |
| 10 |
--help or -h - display help message |
| 11 |
--omit-decl - omit xml declaration <?xml version="1.0"?> |
| 12 |
--embed or -E - allow applying embedded stylesheet |
| 13 |
--show-ext - show list of extensions |
| 14 |
--val - allow validate against DTDs or schemas |
| 15 |
--net - allow fetch DTDs or entities over network |
| 16 |
#ifdef LIBXML_XINCLUDE_ENABLED |
| 17 |
--xinclude - do XInclude processing on document input |
| 18 |
#endif |
| 19 |
--maxdepth val - increase the maximum depth |
| 20 |
#ifdef LIBXML_HTML_ENABLED |
| 21 |
--html - input document(s) is(are) in HTML format |
| 22 |
#endif |
| 23 |
|