code: private static Transformer newTransformer() {
  
  		if (TEMPLATES == null) {
  			throw new IllegalStateException("TransformXMLInterceptor not initialized.");
  		}
  
  		try {
  			return TEMPLATES.newTransformer();
  		} catch (TransformerConfigurationException ex) {
  			throw new SystemException("Could not create transformer for " + RESOURCE_NAME, ex);
  		}
  	}
docs: Creates a new Transformer instance using cached XSLT Templates. There will be one cached template. Transformer
  instances are not thread-safe and cannot be reused (they can after the transformation is complete).
  
  @return A new Transformer instance.