Class: JXslt::Xalan

Inherits:
XsltProcessor show all
Defined in:
lib/JXslt/jxslt.rb

Constant Summary collapse

TRANSFORMER_FACTORY_IMPL =
"org.apache.xalan.processor.TransformerFactoryImpl"

Instance Method Summary collapse

Methods inherited from XsltProcessor

#transform

Constructor Details

#initializeXalan

Returns a new instance of Xalan.



55
56
57
58
# File 'lib/JXslt/jxslt.rb', line 55

def initialize
    System.setProperty("javax.xml.transform.TransformerFactory", TRANSFORMER_FACTORY_IMPL)
  @tf = TransformerFactory.newInstance
end