Java XML transformation interface -


I need to change XML. I would normally use Saxon and XSLT 2.0 stylesheets for this. The changes that are made to me include those side effects and work efficiently in the inclusion of nodes, and there is not much understanding in implementing an XPath function.

I decided to implement a transformer class for this purpose. I got a standard interface for this javax.xml.transform , but is targeted to implement an XSLT processor (it is called TransformerFactory and transformer for each change) and seems to be complex and unnecessary for my purpose.

Is there a normal XML (DOM) change interface that I can use instead of searching myself?

The javax.xml.transform interface has a standard meaning in Java for transcribing xslt on an XML document. Since it does not appear that your transformation will be based on XSLT, this is not the right API for you.

Programmers often apply their own versions of source and results to hook into source javax.xml.transform transformer, but this is not your use case.

Are you a special API with whom you are hoping to integrate? If you will not be better off removing your own API.


Comments