Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I start developing an application which uses JAXP?

0
10 Posted

How do I start developing an application which uses JAXP?

0

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.

0

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

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.