public static SAXTransformerFactory getSAXTFactory() {
if (saxTFactory == null) {
// attempt to instantiate a sax transformer factory
TransformerFactory tFactory = TransformerFactory.newInstance();
tFactory.setURIResolver(new ResourceResolver());
if (tFactory instanceof SAXTransformerFactory) {
saxTFactory = ((SAXTransformerFactory)tFactory);
}
}
if (saxTFactory == null) {