The parse_xml
method parses an XML string to a LuaXmlDocument.
The following character encodings are supported. If the XML uses a different character encoding, you can use the function convert_encoding to convert the encoding before parsing the XML.
parse_xml( xml )
Argument | Description |
---|---|
xml
|
(string) XML data as a string. |
(LuaXmlDocument). A LuaXmlDocument containing the parsed data, or nil if the string could not be parsed.
|