💾 Archived View for freeshell.de › tldr › xml-edit.gmi captured on 2024-02-05 at 12:19:24. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

xml edit

Edit an XML document.

More information.

xml edit --delete "{XPATH1}" {path/to/input.xml|URI}
xml edit --move "{XPATH1}" "{XPATH2}" {path/to/input.xml|URI}
xml edit --rename "{//*/@id}" -v "{ID}" {path/to/input.xml|URI}
xml edit --rename "{/xml/table/rec}" -v "{record}" {path/to/input.xml|URI}
xml edit --update "{xml/table/rec[@id=3]/@id}" -v {5} {path/to/input.xml|URI}
xml edit --help
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY