This site has been taken over by the staff of www.ASPDeveloper.Net

Please report errors to suggest@aspdeveloper.net

BizTalk Utilities CV ,   Jobs ,   Code library  
 
Home Page
XQuery
XQuery Demo
What is XQuery and ASP.NET?
What is XQuery?
Why do I need XQuery when I already have XSLT/XPath?
XQuery 1.0 syntax types and some query examples.
How to use XQuery in ASP.NET
Learn XQuery 1.0 fundamentals
<< XmlSerializer
XSLT >>

By :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 :2136

 

XQuery Demo namespace

The MS XQuery managed classes reside in the namespace Microsoft.Xml.XQuery. They are designed for use together with the existing classes in the System.Xml namespace.

The managed classes in MS XQuery are: XQueryNavigator, XQueryDocument, XQueryNavigatorCollection, XQueryExpression, and XQueryException. Let's have a look at each one of them now.

XQueryNavigator

This class is used to create an XML object for navigation.

It is the object returned when an xquery is run over one or more navigators in the navigator collection object.

The class is also used for the objects within the navigator collection. All navigators possess the IXQueryNavigable Interface, which makes navigation possible and optimizes it.

XQueryDocument

This class provides an XML object to run xqueries over.

It has a method to create a new navigator, over which an xquery can be run.

XQueryNavigatorCollection

A collection of XQueryNavigator objects (navigators) to run xqueries over.

It is possible to run xqueries over one or more of each of these navigators.

XQueryExpression

This class provides an object which encapsulates the XQuery Expression – it is parsed, checked for any syntax error, and finally compiled.

Any errors are reported during each phase. An XQueryException is generated when the xquery is syntactically incorrect, if it generates a compiler error, or if it exceeds a certain string length.

After each phase has completely processes successful, it is ready to be run over the navigator collection – that is, the XQueryNavigatorCollection object.

XQueryException

This class provides for any exception thrown by the XQuery classes.


Rate this article on a scale of 1 to 10

Your vote :  


 

Recent Jobs

Software Specialist, Linux - Finlan
Linux Core Technical Project Manage
Graphics designer at Tanzania. Expe
Integration Specialist Needed - Wor
Virtualization Server Infrastructur

View all Jobs (Add yours)
View all CV (Add yours)






    Email TopXML  

Front Page Daily Stuff TopXML Forum XML blogs XML Newsgroups BizTalk Biztalk Utilities Biztalk Utilities Tutorial B2B SAP XML Microsoft .NET Dotnet System XML Soapformatter SQLXML XMLserializer XQuery PHP PHP SimpleXML PHP XML Dom PHP XML RPC PHP XSLT Java Java Java XML Xalan Microsoft ASP ASP Schemas XML SQL Server XML XMLDom XSL XSL Tutorial XSLT Stylesheets General Javascript CSS XHTML WAP