summaryrefslogtreecommitdiff
path: root/examples/sel-xpath-v
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sel-xpath-v')
-rw-r--r--examples/sel-xpath-v6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/sel-xpath-v b/examples/sel-xpath-v
new file mode 100644
index 0000000..e9bec7b
--- /dev/null
+++ b/examples/sel-xpath-v
@@ -0,0 +1,6 @@
+#!/bin/sh
+the_test() {
+ ./xmlstarlet sel --text -t -m /doc -v "$1" --nl xml/foo.xml
+}
+
+. "${srcdir-..}"/examples/foreach-xpath.sh