summaryrefslogtreecommitdiff
path: root/examples/update-elem1
diff options
context:
space:
mode:
authorSehong Na <sehong.na@samsung.com>2014-05-31 13:20:46 +0900
committerSehong Na <sehong.na@samsung.com>2014-05-31 13:20:46 +0900
commit7122fb9745e4622cb4c5d340cf1557e2fda1efe3 (patch)
tree393207d68983c3b587733b83714bef2de2457025 /examples/update-elem1
downloadxmlstarlet-tizen_2.3_release.tar.gz
xmlstarlet-tizen_2.3_release.tar.bz2
xmlstarlet-tizen_2.3_release.zip
Diffstat (limited to 'examples/update-elem1')
-rw-r--r--examples/update-elem13
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/update-elem1 b/examples/update-elem1
new file mode 100644
index 0000000..b9bf2bb
--- /dev/null
+++ b/examples/update-elem1
@@ -0,0 +1,3 @@
+#!/bin/sh
+# Update value of an element
+./xmlstarlet ed -u '/xml/table/rec[@id=1]/numField' -v 0 xml/tab-obj.xml