> As Christian just said, you can do exactly this. As you read each Element
> you can call write(Element) on the XMLWriter. So you don't need the whole
> document in memory at once. Also notice you can write the open and close
of
> elements.

That's not bad, but this still leaves unnecessary namespace declarations
floating around. Directly sending SAX events to the XMLWriter solves the
problem.


--
Eric Jain





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to