xml elements
Extract elements and display the structure of an XML document. More information: https://xmlstar.sourceforge.net/doc/UG/xmlstarlet-ug.html#idm47077139665568.
- Extract elements from an XML document (producing XPATH expressions):
xml >
- Extract elements and their attributes from an XML document:
xml -a >
- Extract elements and their attributes and values from an XML document:
xml -v >
- Print sorted unique elements from an XML document to see its structure:
xml -u
- Print sorted unique elements from an XML document up to a depth of 3:
xml -d
- Display help:
xml --help
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
