How do I start developing an application which uses JAXP?
Perhaps a good place to start is to look at the JAXP RI docs and some sample programs that use JAXP.If your application needs to programmatically perform XSLT transformations, then you need an implementation that supports the transform parts of the JAXP API. One resource that provides sample code for this type of application is the Xalan-J documentation.If not, then your application is a pure parsing application and you need to decide between using the DOM or SAX APIs. In the interest of having less API to learn, I would recommend limiting usage to the standard DOM and SAX APIs as much as possible and use the auxiliary JAXP methods for the functionality that is not available or perhaps difficult to use via the DOM or SAX APIs. For example, currently DOM does not specify a method to bootstrap or load an XML document and return a DOM Document object. This is available via JAXP.
A good place to start is to look at the JAXP documentation and some sample programs that use JAXP, that are also available in the JAXP downloads. If your application needs to perform XSLT transformations programmatically, then you need an implementation that supports the transform parts of the JAXP API. One resource that provides sample code for this type of application is the Xalan-J documentation. If not, then your application is a purely parsing application and you need to decide between using the DOM or SAX APIs. In the interest of having less API to learn, it is recommended to limit usage to the standard DOM and SAX APIs as much as possible and use the auxiliary JAXP methods for the functionality that is not available or perhaps difficult to use via the DOM or SAX APIs. For example, currently DOM does not specify a method to bootstrap or load an XML document and return a DOM Document object. This is available via JAXP. • Q. Can an Application use the JAXP implementation specific p