JAXB and XMLBeans Question

Discussions

XML & Web services: JAXB and XMLBeans Question

  1. JAXB and XMLBeans Question (3 messages)

    Hi,
    Does anyone know how to control the depth of unmarshalling in either of these technologies? 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).

    Is there anyway I can control the depth?

    Thanks

    Threaded Messages (3)

  2. JAXB and XMLBeans Question[ Go to top ]

    This would really be good, I agree. I dont think even the spec answers this!

    -Sanjay
  3. JiBX project[ Go to top ]

    Have you looked at JiBX?

    http://www.jibx.org/
  4. JiBX project[ Go to top ]

    Thanks a lot. I will go thro it and let you know. In the mean time I have a quick question.
    Is it based on JAXB or is it different from JAXB? (Atleast for XMLBeans there is a roadmap to merge JAXB and XMLBeans tech in the future)