PDN-C13-PPT - Chapter 13 XML Yingcai Xiao What is XML? What...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
Chapter 13 XML Yingcai Xiao
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
What is XML? What is it for? Examples How to write? How to validate? How to read? How to display? How to format? How to translate?
Background image of page 2
Extensible Markup Language. De facto data language. http://www.w3.org/TR/REC-XML. HTML expresses appearance; XML describes data and its structure . Text based (platform-independent). Object-oriented data representation. Has no predefined tags. Provides rules to format data. Many XML parsers already available. Strong XML support in the FCL. . XML
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
XML Example (Guitars.xml) <?xml version="1.0"?> <Guitars> <Guitar> <Make>Gibson</Make> <Model>SG</Model> <Year>1977</Year> <Color>Tobacco Sunburst</Color> <Neck>Rosewood</Neck> </Guitar> <Guitar> <Make>Fender</Make> <Model>Stratocaster</Model> <Year></Year> <Color>Black</Color> <Neck>Maple</Neck> </Guitar> </Guitars>
Background image of page 4
XML Example (Guitars.xml) Document element (root): Guitars. Guitar elements are children of Guitars.
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 13

PDN-C13-PPT - Chapter 13 XML Yingcai Xiao What is XML? What...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online