summaryrefslogtreecommitdiff
path: root/examples/findfile1
diff options
context:
space:
mode:
Diffstat (limited to 'examples/findfile1')
-rw-r--r--examples/findfile13
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/findfile1 b/examples/findfile1
new file mode 100644
index 0000000..1afb1a4
--- /dev/null
+++ b/examples/findfile1
@@ -0,0 +1,3 @@
+#!/bin/sh
+# Find XML files matching XPath expression (containing 'object' element)
+./xmlstarlet sel -T -t -m //object -f --nl xml/table.xml xml/tab-obj.xml