%XML_PARSER_DELETE
Release an XML parser instance
WSupported on Windows
|
USupported on Unix
|
VSupported on OpenVMS
|
NSupported in Synergy .NET
|
status = %XML_PARSER_DELETE(parser)
Return value
status
XML_SUCCESS if the parser instance was successfully released.
Arguments
parser
The parser instance to release. (XML_PARSER_TYPE)
Discussion
After you’re finished parsing an XML file or string, you must release the parser instance with %XML_PARSER_DELETE. You can release the parser any time after calling %XML_PARSER_PARSEFILE or %XML_PARSER_PARSESTRING.
Remember to also delete the document returned by %XML_PARSER_PARSEFILE or %XML_PARSER_PARSESTRING, using %XML_DOC_DELETE. |
This function is defined as ^VAL.
Examples
xcall xml_parser_delete(parser)
For a complete example, see Example of parsing XML.