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