资讯

The most straightforward way specifies the factory’s class name in the javax.xml.transform.TransformerFactory system property: System.setProperty("javax.xml.transform.TransformerFactory ...
In the demo, I recommend inserting the following line at the beginning of an application’s main() method, in order to use SAXON: System.setProperty("javax.xml.transform.TransformerFactory ...