Does XSLT load the entire document into memory before it begins processing? I read in ProXML2 that you could pre-process a document with XSLT before processing with DOM if memory is a concern. But, this doesn't make sense to me if XSLT also has to fully load the document before processing it. How would this save memory?
posted 15 years ago
Yes,the XSLT processors rely on holding all the data in memory while transformation is taking place.Infact the tree structure can be 10 times the the original data size.The combination of a SAX filter for simple data extraction,followed by XSLT to do complex manipulation can be a better option than using DOM. Vasudha
IBM Certified Developer -XML and Related Technologies(141)<br />SCJP2 SCWCD