diff options
Diffstat (limited to 'examples/sel-xpath-c')
-rw-r--r-- | examples/sel-xpath-c | 6 |
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 |