• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

XML Transformation

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can I use SAX for Transforming XML Files to another XML as per the XSLT structure. How large files can be handled by SAX. My XML Files are around 50 MB.
TIA
Francis
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Can I use SAX for Transforming XML Files to another XML as per the XSLT structure.

Yes, you can use SAX to produce a new XML file based on another XML file. However, that would have nothing to do with XSL per se (unless your SAX handler dynamically creates an XSL document, which you afterwards use to transform the same XML into something else).

How large files can be handled by SAX. My XML Files are around 50 MB.

The answer depends on what your SAX handler does. If your SAX handler keeps all the parsed information in memory until the whole document is parsed, the memory footprint will be relatively close to 50 megabytes, depending on the ratio of tags and actual content in your XML...
 
reply
    Bookmark Topic Watch Topic
  • New Topic