Workshop


The Workshop is designed to help you anticipate possible questions, review what you've learned, and begin learning how to put your knowledge into practice.

Quiz

1.

What is an event-driven parser?

2.

What standards body was responsible for the creation of SAX?

3.

Which important feature was added when SAX was upgraded from version 1.0 to 2.0?

Quiz Answers

1.

An event-driven parser iterates through an XML document and calls specific methods in another program as it processes entities in the document being parsed.

2.

I admit it, this was a trick question; a standards body did not create SAX. Rather, members of the xml-dev mailing list created it through a grassroots effort.

3.

SAX 2.0 added support for namespaces.

Exercises

1.

Modify the sample program in this hour so that it reproduces the XML document that is supplied as input.

2.

Reproduce the sample program in the language that you do your development in (if it's not Java).




Sams Teach Yourself XML in 24 Hours
Sams Teach Yourself XML in 24 Hours, Complete Starter Kit (3rd Edition)
ISBN: 067232797X
EAN: 2147483647
Year: 2005
Pages: 266

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net