Read Benoît Marchal’s tip “Implement XMLReader ” (developerWorks, November 2003), which explains how to use a transformer to write syntactically correct documents.
Check out “SAX, the power API” (developerWorks, August 2001), which explains how to use a SAX parser and compares event-based APIs (like SAX) to object-based ones (such as DOM).
Avoid the pitfalls of XML namespaces — read Uche Ogbuji’s article “Use XML namespaces with care” (developerWorks, April 2004), part of his “Principles of XML design” series.
Review the other installments of Benoît Marchal’s Working XML column.