summaryrefslogtreecommitdiff
path: root/examples/external-entity
diff options
context:
space:
mode:
Diffstat (limited to 'examples/external-entity')
-rw-r--r--examples/external-entity4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/external-entity b/examples/external-entity
new file mode 100644
index 0000000..a087c19
--- /dev/null
+++ b/examples/external-entity
@@ -0,0 +1,4 @@
+#!/bin/sh
+./xmlstarlet sel -t -c //foo xml/external-pe.xml | ./xmlstarlet c14n
+echo
+./xmlstarlet sel -T -t -v //foo --nl xml/external-pe.xml