You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlbeans-user@xml.apache.org by Hari Lakshmanan <ha...@wakesoft.com> on 2004/01/08 19:54:18 UTC

XMLBeans Questions

Hi,
Greetings!
My name is Hariharan Lakshmanan and I am in the process of enhancing our
product with XMLBeans (To carry out java to XML binding). In this
context I have following questions
1. Does XMLBeans support controlling the depth of unmarshalling ? Let me
explain depth with an example 
Assume a I have Customer Object which contains Address Object and when I
want to unmarshal the XML, I wanted to unmarshal only customer and not
the contained object (meaning the depth is 1). 
 
2. Does XMLBeans support unmarshalling of XML into plain java classes
(adhering to java bean spec)? If so how do I do that? The basic reason
is that I do not want to be dependent on the classes generated from
schema to do the unmarshalling Please take a look at www.jibx.org
<http://www.jibx.org/>  which does this
 
Thank you very much
__Hari