XML_PARSE_BUFFER
Argument | Enumeration | Purpose |
---|---|---|
SYM(buffer$) | Symbol of buffer | |
status | KDB_ERROR_ENUM | Return status |
handle | Returned XML handle |
XML_PARSE_BUFFER
Use this function to parse an XML document held in a buffer. It returns a handle which can be used with XML_NEXT to traverse the tree one element at a time. Use XML_CLOSE to free the handle again.
If the document is in a file, and the file has not already been opened, then you can alternatively use XML_OPEN which will open the document and parse it.
The status code values returned are the same as those returned by database routines.
For more on parsing XML see this page.