>> If you are using xalan with large files look at SAX2SAX
>> sample. This uses streaming so it avoids building the data
>> structure for the document as much as possiable.
>> http://xml.apache.org/xalan-j/samples.html#sax2sax
>
>This is a popular misconception. If you supply SAX input to an XSLT
>processor, it will build its own tree internally. It will probably be
>more efficient (in both time and memory) than supplying a DOM as input,
>but the tree is still needed.
>
Do you mean it creates a complete tree for the document before processing, or just a tree containing the currently processed portion of the document?
Edward Middleton
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|