Debian Codegraph @

examples/ed-subnode

raw
1 #!/bin/sh
2 ./xmlstarlet ed -s '/xml/table/rec[@id=1]' -t elem -n newrec -v value xml/table.xml