473,698 Members | 2,005 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

XQuery ( XML Query )

FBS
Hi everybody,

I wonder if somebody could help me with this issue.

I would like to rum some XQuery codes aginst my XML files and since I'm
quite new in this area I'm not sure what to do. It is not complicated ( I
have even seen some XQuery examples on the Web ) just listing the values for
some elements for instance. But what I need to know is, first of all, if I
need to download anything?

Where do I put the XQuery codes? I mean could I put it in the html file or
do I have to put it in for instance java code?
Please advise me with the easiest way, I just want to see it work.

best regards,
/Farzad

Jul 20 '05 #1
1 1345


FBS wrote:

I wonder if somebody could help me with this issue.

I would like to rum some XQuery codes aginst my XML files and since I'm
quite new in this area I'm not sure what to do. It is not complicated ( I
have even seen some XQuery examples on the Web ) just listing the values for
some elements for instance. But what I need to know is, first of all, if I
need to download anything?

Where do I put the XQuery codes? I mean could I put it in the html file or
do I have to put it in for instance java code?
Please advise me with the easiest way, I just want to see it work.


XQuery is still under development, you will have to look at an existing
implementation, one of them is Saxon (currently in version 8) which you
can find here:
<http://saxon.sourcefor ge.net/#F8.4SA>
But there are other implementations , you will have to decide on what
platform and with what tools you want to run XQuery and then choose an
implementation.

--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2791
by: Tom Corcoran | last post by:
I am working to ease updating of a html page by transforming 2 xml files. I was going to use xslt for this and had bought 2 unopened books, wrox xslt and o'reilly's xslt cookbook. But am now wondering if I am better of learning XQuery instead? Any thought and opinions would be appreciated. Cheers - Tom. The Architect: "Hope, it is the quintessential human delusion,
1
2044
by: inquirydog | last post by:
Can anyone explain to me why the following XQuery expression (a simple xpath expression) returns a different result than the same expression in xslt? document("document.xml")//a/@b For the following sample document: <root> <a b="1" />
0
1529
by: pepin_labulle | last post by:
I'm a newbie with XQuery and I'm trying to execute a query with Saxon. If I don't specify the XML source file name in the query, Saxon raises the following error : javax.xml.transform.Transforme­rException: Finding root of tree: the context item is not set Even if I specified the source file name in the command line. Here is the command line I used : java -cp saxon8.jar net.sf.saxon.Query -s books.xml books.xq
0
2301
by: Stylus Studio | last post by:
DataDirect XQuery(TM) is the First Embeddable Component for XQuery That is Modeled after the XQuery API for Java(TM) (XQJ) BEDFORD, Mass.--Sept. 20, 2005--DataDirect Technologies (http://www.datadirect.com), the software industry leader in standards-based components for connecting applications to data and an operating unit of Progress Software Corporation, today announced the release of DataDirect XQuery(TM), the first embeddable...
0
1281
by: HNguyen | last post by:
Hi, I have a problem of binding data from XQuery to a dataset. Here is the program I've extracted from 4guysfromrolla.com. This program read data from an XML file (Employees.xml) and performed XQuery from this XML file. The program ran OK to show the XML data on the Literal control. Instead of displaying XML data on that control, I'd like to bind XML data to a dataset and display them on Datagrid control (not in XML data format). ...
1
1870
by: amessimon | last post by:
Hi I'm having a problem querying an XML document using Xquery, i dont know if this is the right place to post, but i couldnt find an xquery newsgroup. Ive also posted in the xml group. Ive not used xquery before and cant find much documentation online regarding the problem i am encountering. Im running the following code, which is a simple query....(ive included all of it as its short and for the sake of completeness).
1
3734
by: Shilpa | last post by:
Please let me know the advantages and disadvantages of XQuery vs OpenRowSet in SQL Server 2005. Which would be better? Regards, Shilpa
2
4334
by: tammo.mueller | last post by:
Hi, I'm trying to execute a xquery statement and I get always errors. It seems that only the prolog section is giving me errors. If I want to declare a namespace the xquery processor is coming up with an "unexpected token" error. The same error appears if I just set the version. The xquery statement itself is working without prolog, but I get no results because of the missing namespace.
0
1389
by: Manish | last post by:
I am new to XML. Initially I was saving all the settings in either PHP or text files or database tables and use to parse the config variables from files or query from the database. Now I want to keep all the settings in the XML file and get the setting values, user datas (as database is not involved and all the results are stored in XML file itself) from it. Referring to http://www.w3schools.com/xquery/xquery_example.asp, it gives...
0
9152
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9016
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8887
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8856
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7709
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6515
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4360
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4613
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2321
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.