2021-08-16 08:23:55 -04:00
|
|
|
# xml transform
|
2021-08-14 18:17:52 -04:00
|
|
|
|
2021-08-15 14:38:24 -04:00
|
|
|
> Transform XML documents using XSLT.
|
2021-08-15 07:19:09 -04:00
|
|
|
> More information: <http://xmlstar.sourceforge.net/docs.php>.
|
2021-08-14 18:17:52 -04:00
|
|
|
|
2021-08-20 23:20:02 -04:00
|
|
|
- Transform an XML document using an XSL stylesheet, passing one XPATH parameter and one literal string parameter:
|
2021-08-15 14:38:24 -04:00
|
|
|
|
2021-08-23 21:20:17 -04:00
|
|
|
`xml transform {{path/to/stylesheet.xsl}} -p "{{Count='count(/xml/table/rec)'}}" -s {{Text="Count="}} {{path/to/input.xml|URI}}`
|
2021-08-15 14:38:24 -04:00
|
|
|
|
2021-08-16 08:23:55 -04:00
|
|
|
- Display help for the `transform` subcommand:
|
2021-08-14 18:17:52 -04:00
|
|
|
|
|
|
|
`xml transform --help`
|