Module xParseXML

Parsing is based on the implementation by Roberto Ierusalimschy, modified to support underscores in attribute names.

(TODO) In addition to the raw XML parsing, the class can also convert a XML document into a native renoise.Document instance (particularly optimized for renoise-generated documents).

See also: {http://lua-users.org/wiki/LuaXml}

Functions

parse (str)
process_list (t)
process_document (t)


Functions

parse (str)

Parameters:

  • str (string), string containing XML data

Returns:

  1. bool (true if success or false if failed)
  2. table or string (error message when failed)
process_list (t)

Parameters:

  • t , table
process_document (t)

Parameters:

  • t , table
generated by LDoc 1.4.2