Introduction to XML
Syd Bauman
2009-03-21
XML
Markup Language
Examples
Extensible
Boxes in Boxes
Representation
Tree Representation
XML Representation
Why XML?
XML languages vary greatly
XML Basics
Everything is Delimited
Example Elements
Everything’s Delimited: attributes
Example Elements with Attributes
Anatomy of an Element
Sample: text, XML, tree
the text
document instance (XML representation)
(simplified) tree
Well-formedness
Multiple roots
boxes-in-boxes representation
tree representation
XML (
not!
) representation
Overlap
XML (
not!
) representation
boxes
representation
one solution
Validity
Some XML plusses and minusses
Introduction to XML
© 2007 Syd Bauman, Julia Flanders, and Brown WWP