UPDATE 17.Jul.2013: XALAN 2.7 does not cache document() calls within a request. So it is crucial to store each needed document in a variable in the XSL.
Function converter() accepts parsed xsl stream as input and returns the output string. Can I improve this function ?
I see in my application that xinclude inside my parsed XML file does not work within my Java XSLT conversion.
Greetings, I\'m facing a problem with the following tech-stack: JWebUnit -> HtmlUnit -> Xalan. I\'m trying to find an element by XPATH, but the HTML document is pretty malformed.
I have a XML data like that: <items> <data>2</data> <listElement> <amounts>
Is the class org.apache.xalan.processor.TransformerFactoryImpl thread safe? Or do I have to a keep loca开发者_如何学运维l copy for each thread?According to the Xalan Transform API document:
Consider this code (based entirely on flying saucer\'s \"getting started\" code, their rights reserved):
First of let me state that I have no clue of XSLT at all. I was given a task to investigate开发者_运维知识库 some JVM dumps of a Java OutOfMemory exception that occurred during XSLT processing.
I asked this question in several flavors, and I think I\'m not asking the right question. I\'m suspecting now that Xalan, since it\'s implementing a Java endorsed standard, can only have one implement
I\'m generating an XML document in parts using various transforms. In particular, I\'m generating a header which contains all of the namespace declarations and is then prepended to the document. Howev