summaryrefslogtreecommitdiff
path: root/examples/sel-xpath-c
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/sel-xpath-c
downloadxmlstarlet-tizen_2.3_release.tar.gz
xmlstarlet-tizen_2.3_release.tar.bz2
xmlstarlet-tizen_2.3_release.zip
Diffstat (limited to 'examples/sel-xpath-c')
-rw-r--r--examples/sel-xpath-c6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/sel-xpath-c b/examples/sel-xpath-c
new file mode 100644
index 0000000..602ee4e
--- /dev/null
+++ b/examples/sel-xpath-c
@@ -0,0 +1,6 @@
+#!/bin/sh
+the_test() {
+ ./xmlstarlet sel --text -t -m /doc -c "$1" --nl xml/foo.xml
+}
+
+. "${srcdir-..}"/examples/foreach-xpath.sh