mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-12 20:47:53 +00:00
Update cheatsheets
This commit is contained in:
17
xml-transform
Normal file
17
xml-transform
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# xml transform
|
||||
|
||||
> Transform XML documents using XSLT.
|
||||
> 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:
|
||||
|
||||
`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`
|
||||
Reference in New Issue
Block a user