NOTE: As of October 2009, this page has moved to http://wiki.fasterxml.com/StaxMateHowToDOM
How To make StaxMate work with DOM
As of version 2.0, it is possible to read DOM documents out of Stax stream readers (although not directly from SMInputCursor), and write DOM documents and fragments using Stax stream writers.
This is done by using converter class org.codehaus.staxmate.dom.DOMConverter.
Reading DOM document
DOM documents are read using XMLStreamReader:
Writing DOM document
DOM documents are read using XMLStreamWriter:
Labels
