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