The following are constructor functions to construct nodes that can be used as column values in a row or passed to builtin functions.
Function name | Description |
---|---|
op.jsonArray | This function constructs a JSON array during row processing. |
op.jsonBoolean | This function constructs a JSON boolean node with the specified value. |
op.jsonDocument | This function constructs a JSON document with the root content, which must be exactly one JSON object or array node. |
op.jsonNull | This function constructs a JSON null node. |
op.jsonNumber | This function constructs a JSON number node with the specified value. |
op.jsonObject | This function constructs a JSON object with the specified properties. |
op.jsonString | This function constructs a JSON text node with the specified value. |
op.prop | This function specifies the key expression and value content for a JSON property of a JSON object constructed by the op.jsonObject function. |
op.xmlAttribute | This function constructs an XML attribute with the name (which can be a string or QName) and atomic value. |
op.xmlComment | This function constructs an XML comment with the atomic value. |
op.xmlDocument | This function constructs an XML document with the root content, which must be exactly one node. |
op.xmlElement | This function constructs an XML element with the name (which can be a string or QName), zero or more attributes, and child content. |
op.xmlPI | This function constructs an XML processing instruction with the atomic value. |
op.xmlText | This function constructs an XML text node with the specified value. |
op.xpath | This function extracts a sequence of child nodes from a column with node values -- especially, the document nodes from a document join. |