| |||||||||||||||||||||
SyntaxSXP_query(Q, query, node, position, size)
| |||||||||||||||||||||
DescriptionEvaluates a query (given as text) based on the current node, the context position (zero-based) and the context size. Any namespaces declared usingSXP_addNamespaceDeclaration are used for the
evaluation, as are the variable bindings made using functions like
SXP_addVariableString . Upon completion of the query, the
pending namespace declarations and variable bindings are cleared.
| |||||||||||||||||||||
ExampleSXP_query(Q, "node[1]/@att", root, 0, 1); | |||||||||||||||||||||
See Also
|