summaryrefslogtreecommitdiff
path: root/examples/bigxml-dtd
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bigxml-dtd')
-rw-r--r--examples/bigxml-dtd5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/bigxml-dtd b/examples/bigxml-dtd
new file mode 100644
index 0000000..948d989
--- /dev/null
+++ b/examples/bigxml-dtd
@@ -0,0 +1,5 @@
+#!/bin/sh
+. ./bigxml
+xmldoc '<a>foo</a>' \
+ | ./xmlstarlet val --dtd dtd/bigxml.dtd --err - 2>&1 >/dev/null \
+ | ${SED:-sed} -n "$SEDLINUM_PROG"