You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Arnd Grosse-Frintrop <Ar...@ruhr-uni-bochum.de> on 2003/03/21 09:59:40 UTC

JAXB and xpath

Hi there,

I would like to put a xpath response into a JAXB Object( I only need one
element of the document). The problem is that the root element is not in the
xpath response. Thats why it can't unmarshalled into a JAXB Object.

The only solution I found is to write a XML Schema for the xpath request. 
But I do not like to write several Schemes for one XML Document.

Does anybody know a better solution.

Thanks in advance

Arnd Große-Frintrop