Obtain a new instance of a
TransformerFactory
from factory class name. This function is useful when there are multiple providers in the classpath. It gives more control to the application as it can specify which provider should be loaded.
Once an application has obtained a reference to a TransformerFactory
it can use the factory to configure and obtain transformer instances.
Tip for Trouble-shooting
Setting the jaxp.debug
system property will cause this method to print a lot of debug messages to System.err
about what it is doing and where it is looking at.
If you have problems try:
java -Djaxp.debug=1 YourProgram ....