summaryrefslogtreecommitdiff
path: root/examples/dtd/table.dtd
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dtd/table.dtd')
-rw-r--r--examples/dtd/table.dtd11
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/dtd/table.dtd b/examples/dtd/table.dtd
new file mode 100644
index 0000000..211f105
--- /dev/null
+++ b/examples/dtd/table.dtd
@@ -0,0 +1,11 @@
+<!ELEMENT numField ( #PCDATA ) >
+
+<!ELEMENT rec ( numField, stringField ) >
+<!ATTLIST rec id NMTOKEN #REQUIRED >
+
+<!ELEMENT stringField ( #PCDATA ) >
+
+<!ELEMENT table ( rec+ ) >
+
+<!ELEMENT xml ( table ) >
+