Mega Code Archive
Search
.Net
ASP .Net
ASP .Net Tutorial
C#
C# Book
C# by API
C# Tutorial
VB.Net
VB.Net by API
VB.Net Tutorial
Visual C++ .Net
VisualBasic Script
Java
Java
Java Book
Java by API
Java Tutorial
Script
Flash ActionScript
Flex
JavaScript DHTML
JavaScript Reference
JavaScript Tutorial
Database
MSSQL
MSSQL Tutorial
MySQL
MySQL Tutorial
Oracle PLSQL
Oracle PLSQL Tutorial
PostgreSQL
Languages
Android
C
C Tutorial
C++
C++ Tutorial
Delphi
Perl
PHP
Python
Python Tutorial
Ruby
Silverlight
Office
MSOfficeExcel 2007 Tutorial
MSOfficePowerPoint 2007 Tutorial
MSOfficeWord 2007 Tutorial
Data
XML
XML Tutorial
XML
Xquery 115 codes
Home
XML
Xquery
1 A query with prolog and body
2 A where clause with multiple expressions
3 Adding a let clause
4 Adding an attribute to an element
5 Adding attributes to results
6 Aggregating values
7 Aggregation
8 Aggregation on multiple values
9 An uninventoryed expression
10 Attempting to use a counter variable
11 Attempting to use a positional variable with a where clause
12 Attempting to use the position function
13 Binding multiple variables in a quantified expression
14 Combining the not function with a quantified expression
15 Compare element value
16 Compare value
17 Computed document constructor
18 Conditional expression
19 Conditional expression returning multiple expressions
20 Constraining and sorting on aggregated values
21 Constructing elements using XML-like syntax
22 Constructor with boundary whitespace
23 Converting values with a lookup table
24 Converting values without a lookup table
25 Count nodes
26 Define variable in for statement
27 Define your own function
28 Distinctness on a combination of values
29 Doc() funciton in for loop
30 Element constructor in FLWOR return clause
31 Embedded direct element constructors
32 Embedding the where clause
33 Enclosed expressions that evaluate to attributes
34 Enclosed expressions that evaluate to elements
35 Enclosed expressions with multiple subexpressions
36 Example of the last function
37 For and doc() function
38 For each loop
39 For each loop and range
40 For each node in certain level
41 For loop and node text
42 For stateCt
43 Grouping by department
44 Grouping in XQuery
45 If statement in return clause
46 If then else stateCt
47 Inadvertent resorting in document inventory
48 Including complex elements from the input document
49 Including elements from the input document
50 Intermingled for and let clauses
51 Joining multiple input documents
52 Let stateCt
53 Load children
54 Min-non-empty-string
55 Multiple for clauses
56 Multiple variable bindings in one for clause
57 Namespace declaration impact on input elements
58 Namespace declarations in query different from input document
59 Nested conditional expressions
60 Nested for each loop
61 Nested for loop
62 Order by clause demo
63 Order by stateCt
64 Outer join
65 Passing the context car to the function
66 Prefixed name tests
67 Processing instruction constructors
68 Prolog default namespace declaration
69 Prolog namespace declarations
70 Quantified expression using the every keyword
71 Quantified expression using the some keyword
72 Query from root element
73 Query with CDATA section
74 Query with no-preserve, inherit
75 Query with preserve, no-inherit
76 Query with XML entities
77 Querying with namespaces
78 Recursive function
79 Removing a child from an element
80 Return a if statement
81 Return element statement
82 Search by attribute value
83 Select element by level
84 Simple computed constructor
85 Simple FLWOR
86 Specifying attributes directly using XML-like syntax
87 Testing for the last car using the is operator
88 The order by clause
89 Three-way join in a where clause
90 Turning content into markup
91 Two-way join in a predicate
92 Two-way join in a where clause
93 Unordered function
94 Use doc() function to load xml docuCt
95 Use doc() function to load XML document
96 Use element and attribute to create xml document
97 Use for loop
98 Useful-function
99 Using a let clause with a range expression
100 Using a namespace declaration in a constructor
101 Using a positional variable in a for clause
102 Using a range expression
103 Using an inventory comparison
104 Using multiple inventorying specifications
105 Using names as result data
106 Using namespace declaration attributes
107 Using the data function
108 Using the uninventoryed function
109 Using XML namespace declarations
110 Where with or operator
111 Without inadvertent resorting
112 Wrapping results in a new element
113 XML comment constructors
114 XQuery and element
115 XQuery way to strip whitespace