diff options
Diffstat (limited to 'examples/bigxml-embed')
-rw-r--r-- | examples/bigxml-embed | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/bigxml-embed b/examples/bigxml-embed new file mode 100644 index 0000000..be39c26 --- /dev/null +++ b/examples/bigxml-embed @@ -0,0 +1,6 @@ +#!/bin/sh +. ./bigxml +xmldoc '<a> foo </a>' \ + '<!DOCTYPE root [<!ELEMENT root (a*)> <!ELEMENT a EMPTY>]>' \ + | ./xmlstarlet val --embed --err - \ + 2>&1 >/dev/null | ${SED:-sed} -n "$SEDLINUM_PROG" |