[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Mixed SAX-DOM parsing

  • From: Devsphere <dxmldev@y...>
  • To: xml-dev@l...
  • Date: Wed, 26 Sep 2001 14:57:26 -0500 (CDT)

sax dom

Devsphere.com announces the availability of SAXDOMIX, 
a FREE Open-Source Java framework for scalable XML parsing and 
transforming based on standard APIs (SAX, DOM and JAXP).

The framework can forward SAX events or DOM sub-trees during 
the parsing of an XML document allowing the application to get DOM 
sub-trees in the middle of a SAX parsing. After handling, all SAX 
event parameters and DOM sub-trees become eligible for garbage 
collection. This solves the well-known DOM scalability problem. 
For example, one can process an arbitrarily large XML table and 
get each record as a DOM sub-tree.

The mixing of SAX and DOM can reduce dramatically the memory 
requirements when the application doesn't need the entire DOM tree 
in memory. In addition, there are pieces of information that can be 
extracted directly from the SAX events without the need to build 
a DOM sub-tree. For example, the application could analyze 
the attributes of an element and decide if it needs the entire DOM 
sub-tree rooted by that element. Such a technique improves 
the performance of the application because the creation of the DOM 
objects is an expensive operation.

SAXDOMIX also provides special support for XSLT. In a mixed 
transformation, the same XSLT instructions are applied to each DOM 
sub-tree and the results are inserted into the output document.

For source code, examples, documentation and a benchmark, please visit

http://www.devsphere.com/xml/saxdomix/index.html


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.