summaryrefslogtreecommitdiff
path: root/examples/table3
diff options
context:
space:
mode:
Diffstat (limited to 'examples/table3')
-rw-r--r--examples/table36
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/table3 b/examples/table3
new file mode 100644
index 0000000..00d5666
--- /dev/null
+++ b/examples/table3
@@ -0,0 +1,6 @@
+#!/bin/sh
+# Generate plain text table from XML document
+./xmlstarlet sel -T \
+ -t -o "===================" -n \
+ -m xml/table/rec -v "concat(@id,'|',numField,'|',stringField)" -n \
+ -t -o "===================" -n xml/table.xml