Bracketing in the Return clause
Apart from the embedding of XQuery expressions in the return clause, a characteristic feature of the priority regulation with regard to the…
Tracing of references
In principle, elements from various XML documents or within a XML document may be put into relation in two ways. The join (known from…
Joins
In contrast to the relational modelling for the representation of discourse areas, there is a broad range of liberties with regard to the structuring of the representation in…
Symmetric join
In XQuery, a join is specified as a "nested for loop", whereby in the for clause(s) the control variables are bound, in the where clause the join predicate is…
Left or right outer join
The symmetry of the nested for clauses is only to be maintained if it can be ensured that there is at least one join partner for each…
Join variants
While the semantics of a left or right outer join can be structurally integrated into the hierarchical concept of the XML data model without any problems, the definition of a…
Asymmetric notation of a left or right outer join
For the last case of the full outer join, the required XQuery query pattern is demonstrated on the example of the previous section in two…
Formulation of a full outer join
Now, the alternative asymmetric formulation of a left or right outer join shown on the previous page can be used in order to formulate a full outer join in XQuery.…
Grouping and aggregation
Apart from the joins, the groupping with subsequent aggregation represents the central type of transformations on data stocks which have to be described with the help of…
Grouping according to structure
The first step of the grouping means that only one representative from a set of items with equal manifestations with regard to the grouping attribte is taken…