Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can I fire Xquery in java?

 
arun singhal
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to fire query in netbeans......
Please help me for this...
Like an example --- I have a xml file "student.xml" and i want to retrieve student name..
So how I do in netbeans ..
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean, "fire xquery"?

What does this have to do with NetBeans? Are you just asking how to use an XML library?
 
arun singhal
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to know that how can we use xqj.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13062
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I hope you have not been doing nothing about the question while waiting for an answer here.

A google search for "java xquery" turns up plenty of toolkits, examples and tutorials.

Bill
 
arun singhal
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I search in google and get one code in xqj....

Code is---

In this I am getting error..
package com.ddtek.xquery3 does not exist

From where I can get this package ???
Please help me to get out of this problem..
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you're faced with an unknown package of "com.ddtek..." then the first stop -assuming that a web search returns nothing- would be ddtek.com; that's how such package names usually work.
JavaRanch's XmlFaq also talks about XQJ.
 
Rob Spoor
Sheriff
Pie
Posts: 20532
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
com.ddtek.xquery3

If you check the first hit that's the Javadoc page. Strip off everything but the domain name (leaving http://www.xquery.com/) and open that page. It shouldn't be too hard to find it then. It's not free though.
 
arun singhal
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
from where I can get XQJ classes??

like these classes--

com.ddtek.xquery3.XQConnection;
com.ddtek.xquery3.XQException;
com.ddtek.xquery3.XQExpression;
com.ddtek.xquery3.XQItemType;
com.ddtek.xquery3.XQSequence;
com.ddtek.xquery3.xqj.DDXQDataSource;
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you actually read the replies from Rob and myself?
 
arun singhal
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes, i have read both replies..
but when I click on link http://www.google.com/search?q=com.ddtek.xquery3 then i find that there is explanation of all these classes about com.ddtek.xquery3.XQConnection;
com.ddtek.xquery3.XQException;
com.ddtek.xquery3.XQExpression;

But I don't know how to use these classes??
And How would I import these class in program??
Actually this is my first XQJ code..So I am facing such problem..
Please give solution to get out of this problem...
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15284
39
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try looking a little harder... http://www.xquery.com/xquery/

Looks like this is a commercial product.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And documentation is here:

http://www.xquery.com/docs/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic