XQueries and XPaths Flashcards
what does FLWOR stand for
for let where order by return
structure of a for clause
FOR IN , ….
what do variables start with
$
structure for a let clause
LET := , ….
what are curly brackets used for in x queries
to indicate that the expression enclosed needs to be evaluated by the x query processor
what is the where clause used in conjunction with
for
what does the where clause do
filters the binding tuples produced by the for and let clause
how to order the return values
order by
what is a union
contains all nodes that occur in ether of the operands
what is the intersect operands
produces a sequence containing all the nodes that occur in both operands
what is except operands
produces a sequence containig all the nodes that occur in its first operand but not the second
in an if clause, what three statements are needed
if
then
else
what is the some expression
returns true if the test expression is true for some variable binding
what is the every expression
returns true if the test expression is true for every variable binding
example of built in functions
string-join
name() returns name of node
data() gets whats inside the node
distinct-values() removes duplicates