1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/xml-transform.md

13 lines
406 B
Markdown
Raw Normal View History

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