View Source BubbleLib.XML.XPath (bubble_lib v1.6.2)

Link to this section Summary

Functions

Select a list of values or elements from the given XML using an XPath expression. Always returns a list.

Select a single value or element from the given XML using an XPath expression. If the result of the expression is not exactly one single element, nil will be returned.

Link to this section Functions

Link to this function

xml_xpath_all(doc, selector)

View Source

Select a list of values or elements from the given XML using an XPath expression. Always returns a list.

Link to this function

xml_xpath_one(doc, selector)

View Source

Select a single value or element from the given XML using an XPath expression. If the result of the expression is not exactly one single element, nil will be returned.