While I am aware that large XML files can be read efficiently by providing
custom ElementHandlers, is there any corresponding way to print out elements
on the fly rather than printing complete trees?

This would probably have to be accomplished by providing an option for the
XMLWriter to suppress the begin and/or end tags of the root element of the
tree that is being printed.

Of course one could simply print out a start tag, and then loop through all
elements printing them out. This approach however gets somewhat messy if
multiple namespaces are used and you don't want to have the namespace
declarations repeated for each element.

Any ideas?


--
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