[CLIS logo]

XML

Sample XML Files illustrating the use of a DTD

(must use IE 5.0 or higher, or other XML viewer)
Original files
XML verison of yeats01 This is the running verison which calls poem01.dtd an poem01.xsl.
HTML version of yeats01.xml
HTML version of poem01.xsl
HTML version of poem01.dtd

GENERAL XML

Note that this is not HTML! Every tag must be closed. This can be done with <tag>....</tag>
or sometimes with <tag />

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 occurences of a
a*... zero or more occurences of a

Elements and Attributes

XSL and XSLT

The example here converts XML tags to HTML with XSLT, the XML Style Language Transformations. For more about XSLT to the XSLT section of these notes.

Revised 8/27/02

CLIS Home Page