Win a copy of Succeeding with AI this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger
  • Frits Walraven

XSLT for Pre-Processing

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?
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.
I am going down to the lab. Do NOT let anyone in. Not even this tiny ad:
ScroogeXHTML 8.7 - RTF to HTML5 and XHTML converter
    Bookmark Topic Watch Topic
  • New Topic