• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How can I fire Xquery in java?

 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ..
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to know that how can we use xqj.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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..
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 22783
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And documentation is here:

http://www.xquery.com/docs/
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic