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