Aluminium

XML Operations

xml_query_doc

Executes a XQuery and returns the resulting document as binary data.

Arguments:

:query*
The query.
:encoding
Optional argument, that can be used to specify the encoding of the resulting document.
...
Any number of arguments that will be bond to the query (corresponding variables will be accessible in the query).

xml_query_value

Executes a XQuery and returns the first value returned by the query.

Arguments:

:query*
The query.
...
See xml_query_doc.

xml_query_list

Executes a XQuery and returns all the values returned by the query in a form of list.

Arguments are the same as in xml_query_value.

xml_query_record

Executes a XQuery and returns all the values returned by the query in a form of record. The query must produce a set of nodes, as the field names in the returned record are the same as node names.

Arguments are the same as in xml_query_value.

xml_query_table

Executes a XQuery and returns all the values returned by the query in a form of table. The query must produce a set of nodes, as the node names will be used as column names.

Arguments are the same as in xml_query_value.