Meaningless Drivel is fun!*
The moose likes XML and Related Technologies and the fly likes JAXB  XPATH API Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "JAXB  XPATH API " Watch "JAXB  XPATH API " New topic
Author

JAXB XPATH API

ved gunjan
Ranch Hand

Joined: May 17, 2003
Posts: 86
hi! all
I am new to JAXB and am finding it extremely useful.
However I have a problem. While in my code I don't want to have to parse
or otherwise be aware of the underlying XML (this is why I'm using
JAXB) I do have to find some elements using XPath expressions. From what I
can see from code generated by JAXB there is no XPath navigation API
included. I realise I could probably go the DOM+XPathAPI route but
due to resource constraints (very large number of documents to manage)
this approach (especially the DOM bit) is too heavyweight.
My ideal would be JAXB to roll those nice Java classes and hide the XML
and a related JAXB XPath API .
Does any one know whether JAXB has support for XPATH API?
Many thanks in advance,
VED
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAXB XPATH API