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.
|
2024-10-12 10:02:00 +02:00
|
|
|
> More information: <https://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
|
|
|
|
2024-01-30 01:55:24 -03:00
|
|
|
- Display help:
|
2021-08-14 18:17:52 -04:00
|
|
|
|
|
|
|
`xml transform --help`
|