> I'm curious, is there another way to implement streaming of XML
> documents than using OMDataSource?

If you need an Axiom representation (e.g. to use the XML with Axis2),
then OMDataSource is the right way. But since Axiom uses a pull
parsing model, the OMDataSource implementation must be able to produce
an XMLStreamReader.

If using Axiom is not a strict requirement (e.g. when writing XML to a
file), then simply use an XMLStreamWriter to serialize the object
model to XML.

Andreas

Reply via email to