blob: bc6fe4e73f5ad90fb52f275f80ac51d83e5b4b70 [file] [log] [blame]
<table class="table">
<thead>
<tr>
<th style="width:25%">Function</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>from_xml(xmlStr, schema[, options])</td>
<td>Returns a struct value with the given `xmlStr` and `schema`.</td>
</tr>
<tr>
<td>schema_of_xml(xml[, options])</td>
<td>Returns schema in the DDL format of XML string.</td>
</tr>
<tr>
<td>to_xml(expr[, options])</td>
<td>Returns a XML string with a given struct value</td>
</tr>
<tr>
<td>xpath(xml, xpath)</td>
<td>Returns a string array of values within the nodes of xml that match the XPath expression.</td>
</tr>
<tr>
<td>xpath_boolean(xml, xpath)</td>
<td>Returns true if the XPath expression evaluates to true, or if a matching node is found.</td>
</tr>
<tr>
<td>xpath_double(xml, xpath)</td>
<td>Returns a double value, the value zero if no match is found, or NaN if a match is found but the value is non-numeric.</td>
</tr>
<tr>
<td>xpath_float(xml, xpath)</td>
<td>Returns a float value, the value zero if no match is found, or NaN if a match is found but the value is non-numeric.</td>
</tr>
<tr>
<td>xpath_int(xml, xpath)</td>
<td>Returns an integer value, or the value zero if no match is found, or a match is found but the value is non-numeric.</td>
</tr>
<tr>
<td>xpath_long(xml, xpath)</td>
<td>Returns a long integer value, or the value zero if no match is found, or a match is found but the value is non-numeric.</td>
</tr>
<tr>
<td>xpath_number(xml, xpath)</td>
<td>Returns a double value, the value zero if no match is found, or NaN if a match is found but the value is non-numeric.</td>
</tr>
<tr>
<td>xpath_short(xml, xpath)</td>
<td>Returns a short integer value, or the value zero if no match is found, or a match is found but the value is non-numeric.</td>
</tr>
<tr>
<td>xpath_string(xml, xpath)</td>
<td>Returns the text contents of the first xml node that matches the XPath expression.</td>
</tr>
</tbody>
</table>