Mark Wilson I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First posted :
03/24/2008
Times viewed :
241
XQuery Demo
As said, the implementation that Microsoft developed is called MS XQuery
Demo, and can be found at http://xqueryservices.com.
MS XQuery Demo basically consists of two parts.
One is the web site demo test page. You can use this page to interactively
test your xqueries. The xqueries you write are run over fixed XML source
documents – they are not modifiable.
The other part, which we are going to use here, is a downloadable managed
.NET class set. Now, if you didn’t already, go ahead, and download and install
this first in your .NET Web server; you can get it at http://xqueryservices.com/Setup/xquery.msi.
Note that if you only have installed the .NET FW v1.1 (which would be the case
you installed VS.NET 2003 on a clean machine), the following message will
appear:
Fig.2 : .NET FW RTM (Version 1.0) is required
Yes, you guessed it… it says that you must install the .NET FW v1.0 RTM
first, to be able to install and use MS Xquery Demo. But there is an easier way
to get things running: later on we’ll see that just copying the dll from the
download ‘bin’ directory into your project ‘bin’ directory will suffice;
adding the assembly to your references section will do the job.
But, if you would like to install the FW v1.0 RTM anyway because you would
like to use the assembly in other projects also and have access to the
accompanying documentation, then you can get it here: http://download.microsoft.com/download/a/2/4/a2457bb3-a43f-446f-ad8b-47cdcc72dc41/setup.exe
(note that it’s a 100+ MB package, a hefty download for a 56kbps modem).
Once installed, the MS XQuery Demo managed class set lets you run your
xqueries over your own XML source documents, be it one single document, or
multiple ones.