tldr/pages/common/xml-transform.md

13 lines
405 B
Markdown
Raw Normal View History

# xml transform
> Transform XML documents using XSLT.
2021-08-15 12:19:09 +01:00
> More information: <http://xmlstar.sourceforge.net/docs.php>.
- Transform an XML document using an XSL stylesheet, passing one XPATH parameter and one literal string parameter:
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}}`
- Display help:
`xml transform --help`