Module cParseXML

load and parse XML from disk

Functions

parse (str_xml) parse XML from string
get_attribute (doc, attr_name) retrieve named attribute
get_node_by_path (doc, xpath) retrieve property by path
get_node_value (node) retrieve value of property


Functions

parse (str_xml)
parse XML from string

Parameters:

  • str_xml

Returns:

    table or nil
get_attribute (doc, attr_name)
retrieve named attribute

Parameters:

  • doc
  • attr_name

Returns:

    table or nil
get_node_by_path (doc, xpath)
retrieve property by path

Parameters:

  • doc
  • xpath

Returns:

    table or nil
get_node_value (node)
retrieve value of property

Parameters:

  • node

Returns:

    string or nil
generated by LDoc 1.4.2