Tip, Converting from DOM

When you need SAX or JDOM output from DOM

From the developerWorks archives

Brett McLaughlin

Date archived: December 6, 2016 | First published: April 01, 2001

In this tip, you'll learn how to convert DOM structures to SAX and JDOM to allow communication with applications that do not use DOM. The code listings demonstrate how to convert from DOM to an output stream for use by SAX, and how to convert from DOM to JDOM.

This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some steps and illustrations may have changed.



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=XML
ArticleID=11989
ArticleTitle=Tip: Converting from DOM
publish-date=04012001