Now, I don't have a solution for your main problems.
100 */ 101 public static Document Builder Factory new Instance() 113 114 /** 115 * @return New instance of a 116 * 117 * @exception Factory Configuration Error if the implementation is not 118 * available or cannot be instantiated.
All I can do is review the code as it is based on my knowledge in Java.
I think you'll have to ask somewhere else for that; I can't help you refactor out huge parts of your program just like that.
The XSL templates can be XSLT 1.0 or XSLT 2.0, the latter requiring Saxon9HE.
The given answer works, but has a number of issues that are undesirable, including: It seems like those aspects of the code should be handled by existing APIs, especially the contortions required to extract the XSD URI from the DOM. XMLConstants; import org.w3*; import sax.*; import org.resolver.tools.
142 * @return A new instance of a Document Builder.