About the Chapter:
For many XML projects, performance is not as important as people think. Parsing an XML document takes very little time, often a millisecond or less. Typically, an application will spend several orders of magnitude more time processing the information than parsing it, so even a 1,000 percent improvement in parsing time would speed up the typical application too little to matter. The most important optimizations for size and speed come not in XML parsing but in how applications work with the information once an XML parser has delivered it and what encodings they use to store it on disk. Few of the techniques introduced in this chapter will magically eliminate all performance and size problems; used together, however, they may make an application fast enough for today's requirements and, perhaps, even for tomorrow's.
To read the rest of this chapter, go to: http://searchwebservices.techtarget.com/searchWebServices/downloads/Megginson_ch08.pdf
Note: Reproduced from Imperfect XML, Rants, Raves, Tips, and Tricks ... from an Insider, ISBN 0131453491, Copyright 2005 with permission from Pearson publishing as Addison-Wesley Professional. Click here for a detailed description and to learn how to purchase this title. To learn more, visit them at http://www.awprofessional.com/title/0131453491
About the Book:
Imperfect XML is an essential resource for XML planning and decision making. It focuses on the on the territory between low-level technical issues and high-level managment issues. Drawing on years of experience, the author provides solutions and problem-solving techniques associated with XML project challenges. This book provides descriptions of standards and specifications, and presents a comprehensive look at XML's advantages and limitations. A glossary of essential XML-related terms has also been included.
About the Author
David Megginson, principal of Megginson Technologies, has been active within the SGML and XML communities since 1991. He led the original initiative that created SAX, the leading streaming API for XML that has been implemented in products by IBM, Oracle, Apache, and Sun. He also chaired the XML Information Set Working Group at the W3C Consortium and was a member of its XML Working Group. In 2000, he received the Java Technology Achievement Award for Outstanding Contributions to the Java Community from Sun and JavaPro magazine.