ancestor-of
($node1 as node(), $node2 as node()) as xs:boolean external
Determines whether the node given as second argument is an ancestor of the node given as first argument. |
child-of
($node1 as node(), $node2 as node()) as xs:boolean external
Determines whether the node given as second argument is a child of the node given as first argument. |
copy
($input as node()*) as node()* external
Return a deep copy of every given node according to the properties specified in the static context of the invoking module. |
descendant-of
($node1 as node(), $node2 as node()) as xs:boolean external
Determines whether the node given as second argument is a descendant of the node given as first argument. |
following-of
($node1 as node(), $node2 as node()) as xs:boolean external
Determines whether the node given as second argument is following the node given as first argument. |
following-sibling-of
($node1 as node(), $node2 as node()) as xs:boolean external
Determines whether the node given as second argument is a following-sibling of the node given as first argument. |
least-common-ancestor
($node1 as node(), $node2 as node()) as node()? external
Computes the least common ancestor of two given nodes in the tree. |
level
($node as node()) as xs:integer external
Computes the level of a given node in the tree. |
parent-of
($node1 as node(), $node2 as node()) as xs:boolean external
Determines whether the node given as second argument is a parent of the node given as first argument. |
preceding-of
($node1 as node(), $node2 as node()) as xs:boolean external
Determines whether the node given as second argument is preceding the node given as first argument. |
preceding-sibling-of
($node1 as node(), $node2 as node()) as xs:boolean external
Determines whether the node given as second argument is a preceding-sibling of the node given as first argument. |
declare function node:ancestor-of($node1 as node(), $node2 as node()) as xs:boolean external
declare function node:child-of($node1 as node(), $node2 as node()) as xs:boolean external
declare function node:copy($input as node()*) as node()* external
Please note that a copy of a node is parentless.
declare function node:descendant-of($node1 as node(), $node2 as node()) as xs:boolean external
declare function node:following-of($node1 as node(), $node2 as node()) as xs:boolean external
declare function node:following-sibling-of($node1 as node(), $node2 as node()) as xs:boolean external
declare function node:least-common-ancestor($node1 as node(), $node2 as node()) as node()? external
declare function node:level($node as node()) as xs:integer external
declare function node:parent-of($node1 as node(), $node2 as node()) as xs:boolean external
declare function node:preceding-of($node1 as node(), $node2 as node()) as xs:boolean external
declare function node:preceding-sibling-of($node1 as node(), $node2 as node()) as xs:boolean external