• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XSLT for Pre-Processing

 
Jeff X Williams
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Vasudha Deepak
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic