Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

NOTE: As of October 2009, this page has moved to

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:

  • No labels