Forrest logo
back to context overview

xml-edit

List of commands for xml-edit:

  • xml-edit:tldr:1c281 xml-edit: Delete elements matching an XPATH from an XML document.
    $ xml edit --delete "${XPATH1}" ${select}
    try on your machine
    explain this command
  • xml-edit:tldr:537ae xml-edit: Rename all attributes named "id" to "ID".
    $ xml edit --rename "${--*-@id}" -v "${ID}" ${select}
    try on your machine
    explain this command
  • xml-edit:tldr:6ce77 xml-edit: Update the XML table record with "id=3" to the value "id=5".
    $ xml edit --update "${xml-table-rec[@id=3]-@id}" -v ${5} ${select}
    try on your machine
    explain this command
  • xml-edit:tldr:ce9c7 xml-edit: Move an element node of an XML document from XPATH1 to XPATH2.
    $ xml edit --move "${XPATH1}" "${XPATH2}" ${select}
    try on your machine
    explain this command
  • xml-edit:tldr:efbb6 xml-edit: Display help for the `edit` subcommand.
    $ xml edit --help
    try on your machine
    explain this command
back to context overview