summaryrefslogtreecommitdiff
path: root/examples/dtd1
diff options
context:
space:
mode:
authorjk7744.park <jk7744.park@samsung.com>2015-09-08 22:07:42 +0900
committerjk7744.park <jk7744.park@samsung.com>2015-09-08 22:07:42 +0900
commit4732847654ed74ed893b7ea088805832fd91cc18 (patch)
tree393207d68983c3b587733b83714bef2de2457025 /examples/dtd1
downloadxmlstarlet-4732847654ed74ed893b7ea088805832fd91cc18.tar.gz
xmlstarlet-4732847654ed74ed893b7ea088805832fd91cc18.tar.bz2
xmlstarlet-4732847654ed74ed893b7ea088805832fd91cc18.zip
Diffstat (limited to 'examples/dtd1')
-rw-r--r--examples/dtd13
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/dtd1 b/examples/dtd1
new file mode 100644
index 0000000..8f291bd
--- /dev/null
+++ b/examples/dtd1
@@ -0,0 +1,3 @@
+#!/bin/sh
+# Validate XML document against DTD
+./xmlstarlet val --dtd dtd/table.dtd xml/tab-obj.xml >/dev/null 2>&1; echo $?