summaryrefslogtreecommitdiff
path: root/examples/xinclude1
diff options
context:
space:
mode:
Diffstat (limited to 'examples/xinclude1')
-rw-r--r--examples/xinclude13
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/xinclude1 b/examples/xinclude1
new file mode 100644
index 0000000..a8b7036
--- /dev/null
+++ b/examples/xinclude1
@@ -0,0 +1,3 @@
+#!/bin/sh
+# Include one XML document into another using XInclude
+./xmlstarlet tr --xinclude xsl/cat.xsl xml/document.xml | ./xmlstarlet c14n