Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Jaxb and xpath

843834Mar 14 2003 — edited Mar 17 2003
Hello,

I would like to unmarshall a xpath response from a xmldatabase(xindice). My problem is that the unmarshaller can't do it because it can't find the root element.

Now my question. Is it possible to unmarshall a fragment of the XML data into a JAXB Object.

The only solution I found is to write a schema for all xpath requests. But I don't like to write 4 schemas for only one xml document.

I'm thankfull if anybody can tell me better solution.
Arnd
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 14 2003
Added on Mar 14 2003
1 comment
307 views