summaryrefslogtreecommitdiff
path: root/examples/genxml1
diff options
context:
space:
mode:
Diffstat (limited to 'examples/genxml1')
-rw-r--r--examples/genxml14
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/genxml1 b/examples/genxml1
new file mode 100644
index 0000000..5465b18
--- /dev/null
+++ b/examples/genxml1
@@ -0,0 +1,4 @@
+#!/bin/sh
+# Generate XML document using command line xml sel
+echo "<x/>" | ./xmlstarlet sel -t -m / -e xml -e child -a data -o value | ./xmlstarlet c14n
+echo