Update cheatsheets

This commit is contained in:
ivuorinen
2025-05-12 00:21:19 +00:00
parent 3bbcd70636
commit d902176714
130 changed files with 506 additions and 436 deletions

View File

@@ -6,12 +6,12 @@ source: https://github.com/tldr-pages/tldr.git
# xml transform
> Transform XML documents using XSLT.
> More information: <https://xmlstar.sourceforge.net/docs.php>.
> More information: <https://xmlstar.sourceforge.net/doc/UG/xmlstarlet-ug.html#idm47077139602800>.
- Transform an XML document using an XSL stylesheet, passing one XPATH parameter and one literal string parameter:
`xml transform {{path/to/stylesheet.xsl}} -p "{{Count='count(/xml/table/rec)'}}" -s {{Text="Count="}} {{path/to/input.xml|URI}}`
`xml {{[tr|transform]}} {{path/to/stylesheet.xsl}} -p "{{Count='count(/xml/table/rec)'}}" -s {{Text="Count="}} {{path/to/input.xml|URI}}`
- Display help:
`xml transform --help`
`xml {{[tr|transform]}} --help`