QA


Q&A

Q.

Why don't some of the example programs in this hour work in Mozilla Firefox and Opera?

A.

Unfortunately, some advanced XML features such as XML data islands and data binding vary from browser to browser, and aren't even supported in some browsers. This hour focuses on the Internet Explorer version of data islands and data binding. Mozilla Firefox has similar features although they are coded a little differently, while Opera has no support for either feature.

Q.

Can large documents create performance issues when I use the DOM?

A.

Yes. As you know, DOM parsers create a data structure that contains all of the data in an XML document, which means that all of the data is loaded into memory at once. If your XML document is really large (in comparison to the amount of RAM in the computer that your application runs on), performance issues can arise. In those cases, it may make more sense to use a SAX parser because it does not deal with the document as a whole. SAX is covered in the next hour, "SAX: The Simple API for XML."




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