summaryrefslogtreecommitdiff
path: root/examples/table3
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/table3
downloadxmlstarlet-submit/tizen_2.3/20150202.060653.tar.gz
xmlstarlet-submit/tizen_2.3/20150202.060653.tar.bz2
xmlstarlet-submit/tizen_2.3/20150202.060653.zip
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