summaryrefslogtreecommitdiff
path: root/examples/dtd3
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dtd3')
-rw-r--r--examples/dtd33
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/dtd3 b/examples/dtd3
new file mode 100644
index 0000000..4049489
--- /dev/null
+++ b/examples/dtd3
@@ -0,0 +1,3 @@
+#!/bin/sh
+# Validate XML document against DTD
+./xmlstarlet val --dtd xml/foo.dtd xml/foo.xml 2>/dev/null