This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes XQuery? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XQuery?" Watch "XQuery?" New topic
Author

XQuery?

Sam Doder
Ranch Hand

Joined: Feb 06, 2008
Posts: 204
I have been reading some stuff on XQuery. I understand the syntax ,...etc etc
But if I wanted to run a file with xquery syntax in a browser what would I have to have for my file extension?

Example I want to run the below code which has xquery syntax in it.
I have the books.xml file as well I just don't know how to link the 2 together and what the file extension should be so the browser displays the results/interrperts it.


I know how to do xslt using xml and xsl files linked together to display xhtml just don't know how to incorporate xquery as well into the group?

Also what is the file extension given if you want to create your own xquery function file and how do you import it into your xquery stuff?

Thanks
I know this is probably simple question for advanced xquery users.
So when somebody gets the chance please let me know how you do the above things.
Sam Doder
Ranch Hand

Joined: Feb 06, 2008
Posts: 204
I am still wondering what file extension should I name it.
If I am using xquery. I know if I am using pure xsl I can include it in my xml and it produces html pages.
But if I instead want to use xquery instead of the usual xsl file ...etc then what file extension would I give it and how would I included it?

Also is their away to just make an xquery function library if so how do you include it to be used with your xml files,.....ie what extension ,...etc
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XQuery?
 
Similar Threads
Sorry For Throwing Lengthy Codes At This Site, But I Really Need Help
Can you read this?
help connecting to mysql database
Question on how to implement multi level menu (navigation bar) in html/css
wide navigation bar causes problems