diff options
author | jk7744.park <jk7744.park@samsung.com> | 2015-09-08 22:07:42 +0900 |
---|---|---|
committer | jk7744.park <jk7744.park@samsung.com> | 2015-09-08 22:07:42 +0900 |
commit | 4732847654ed74ed893b7ea088805832fd91cc18 (patch) | |
tree | 393207d68983c3b587733b83714bef2de2457025 /examples/dtd | |
download | xmlstarlet-4732847654ed74ed893b7ea088805832fd91cc18.tar.gz xmlstarlet-4732847654ed74ed893b7ea088805832fd91cc18.tar.bz2 xmlstarlet-4732847654ed74ed893b7ea088805832fd91cc18.zip |
tizen 2.3.1 releasetizen_2.4_mobile_releasetizen_2.3.1_releasesubmit/tizen_2.4/20151028.063429submit/tizen_2.3.1/20150915.075556accepted/tizen/2.4/mobile/20151029.035146tizen_2.4tizen_2.3.1accepted/tizen_2.4_mobile
Diffstat (limited to 'examples/dtd')
-rw-r--r-- | examples/dtd/bigxml.dtd | 2 | ||||
-rw-r--r-- | examples/dtd/tab-obj.dtd | 17 | ||||
-rw-r--r-- | examples/dtd/table.dtd | 11 |
3 files changed, 30 insertions, 0 deletions
diff --git a/examples/dtd/bigxml.dtd b/examples/dtd/bigxml.dtd new file mode 100644 index 0000000..4ba3dee --- /dev/null +++ b/examples/dtd/bigxml.dtd @@ -0,0 +1,2 @@ +<!ELEMENT root (a*)> +<!ELEMENT a EMPTY> diff --git a/examples/dtd/tab-obj.dtd b/examples/dtd/tab-obj.dtd new file mode 100644 index 0000000..2cfc16f --- /dev/null +++ b/examples/dtd/tab-obj.dtd @@ -0,0 +1,17 @@ +<!ELEMENT numField ( #PCDATA ) > + +<!ELEMENT object ( property+ ) > +<!ATTLIST object name NMTOKEN #REQUIRED > + +<!ELEMENT property ( #PCDATA ) > +<!ATTLIST property name NMTOKEN #REQUIRED > + +<!ELEMENT rec ( numField, stringField, object? ) > +<!ATTLIST rec id NMTOKEN #REQUIRED > + +<!ELEMENT stringField ( #PCDATA ) > + +<!ELEMENT table ( rec+ ) > + +<!ELEMENT xml ( table ) > + 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 ) > + |