File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes How to use XQuery Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "How to use XQuery" Watch "How to use XQuery" New topic

How to use XQuery

Prashant Mathur

Joined: Jul 19, 2011
Posts: 22
please tell how to use XQuery with XML ?
Where do we write xquery code with what extension and where....I have seen on but still not clear...please tell.
Paul Clapham

Joined: Oct 14, 2005
Posts: 19973

Just using the right namespace or syntax or whatever isn't enough. You also need some software which can understand and process XQuery code. There is nothing in the standard Java API which does that, so you will have to look elsewhere. Google keywords: xquery processor.
Prashant Mathur

Joined: Jul 19, 2011
Posts: 22
this was done through Vector sort own Comparator...thanks a ton to all of you who helped me out.
I agree. Here's the link:
subject: How to use XQuery
It's not a secret anymore!