Re: [jibx-users] Java<->DOM instead of Java<->xml stream

2005-07-24 Thread Andreas Brenk
Hi Nikita, the code will also be a part of the next official JiBX release and is already in JiBX CVS. You should check it out from there as there were some refactorings to use a common super class. For usage instructions you have to read the test cases at the moment. But I hope to finish som

Re: [jibx-users] Java<->DOM instead of Java<->xml stream

2005-07-21 Thread Dennis Sosnoski
Yes, that's what would be needed. I did some quick searches, thinking somebody would have done this already for one of the document models with XMLPull or StAX (which is basically a designed-by-committee version of XMLPull), but didn't find anything. Still, it's a simple enough API that it shou

Re: [jibx-users] Java<->DOM instead of Java<->xml stream

2005-07-21 Thread Dennis Sosnoski
The way to handle this would be to create a wrapper that provides an XMLPull parser interface for reading a DOM, then use that like a parser. I haven't checked to see if there's an implementation of this already available, but if not it shouldn't be too difficult to create it if you understand

RE: [jibx-users] Java<->DOM instead of Java<->xml stream

2005-07-20 Thread Mocky Habeeb
: Re: [jibx-users] Java<->DOM instead of Java<->xml stream Hi Nikita, it is possible with a custom implementation of the IXMLWriter interface. I've written one that marshalls into a JDOM Document and officially contributed it. It is not yet integrated into the main distribution th

Re: [jibx-users] Java<->DOM instead of Java<->xml stream

2005-07-20 Thread Andreas Brenk
Hi Nikita, it is possible with a custom implementation of the IXMLWriter interface. I've written one that marshalls into a JDOM Document and officially contributed it. It is not yet integrated into the main distribution though. If you need it right away I could send you a recent CVS checkout with