[XML-SIG] SAX Events to DOM Tree

Uche Ogbuji Uche.Ogbuji at fourthought.com
Fri Feb 18 19:13:22 CET 2005


On Fri, 2005-02-18 at 13:20 +0100, Neil Benn wrote:
> Hello,
> 
>     I have a couple of questions :
> 
>           I'm looking for some code which takes SAX Events and converts 
> them to a DOM Tree

See

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/298343

Available with updates in Amara XML Toolkit [1]

If you don't specify any chunking rules, it turns all SAX the SAX into
one DOM document node.

[1] http://www.xml.com/pub/a/2005/01/19/amara.html


-- 
Uche Ogbuji                                    Fourthought, Inc.
http://uche.ogbuji.net    http://4Suite.org    http://fourthought.com
Use CSS to display XML - http://www.ibm.com/developerworks/edu/x-dw-x-xmlcss-i.html
Introducing the Amara XML Toolkit - http://www.xml.com/pub/a/2005/01/19/amara.html
Be humble, not imperial (in design) - http://www.adtmag.com/article.asp?id=10286
Querying WordNet as XML - http://www.ibm.com/developerworks/xml/library/x-think29.html
Manage XML collections with XAPI - http://www-106.ibm.com/developerworks/xml/library/x-xapi.html
Default and error handling in XSLT lookup tables - http://www.ibm.com/developerworks/xml/library/x-tiplook.html
Packaging XSLT lookup tables as EXSLT functions - http://www.ibm.com/developerworks/xml/library/x-tiplook2.html



More information about the XML-SIG mailing list