Always try to use only the standard XML APIs when writing
XML applications. This will keep your application shielded
from changes in the underlying implementation of those
standard APIs and also gives you more flexibility to change
the implementation of the standard pieces without modifying
your application code.
If you need functionality that is not available in the
standard APIs like DOM and SAX, then perhaps using the Xerces
Native Interface (XNI) will provide the information to build
the appropriate parsing tools for your application. For more
detailed information regarding XNI, refer to the
XNI Manual.