Sample XML files illustrating the use of a DTD
XML
version of yeats01 This is the running version which calls poem01.dtd an
poem01.xsl
Text version of yeats01.xml
Text version of poem01.xsl
Text version of poem01.dtd
DTD Statements
Expressions
a b... a followed by b
a | b... a or b but not both (one
item from the list at most)
a-b... the set of strings represented by a but
not represented by b
a?... a or null in other words a is optional
a+...
one or more occurrences of a
a*... zero or more occurrences of a
Revised 10/13/13