All,
 
Here we are creating XML documents within what you'd call portal component and have a main object retrieve the XML code and process it through Xalan to get HTML.
 
Our component
  • deliver in-memory DOM trees
  • pass that to the Xalan processor
  • the XSLT document [a file somewhere] has already been parsed, its DOM tree cached and passed to Xalan
    [all this instead of strings,byte arrays, string buffers or InputStreams which would have to go through a non validating parser (correct ?)]
 
I made the following assumption : this is faster than giving Xalan 2 strings containing XML and XSLT ?
 
Am I correct ?
 
Ed.

Reply via email to