Pike v8.1 release 6

Method Parser.XML.SloppyDOM.Document()->get_elements()


Method get_elements

array(Element) get_elements(string name)

Description

Note that this one looks among the top level elements, as opposed to get_elements_by_tag_name. This means that if the document is correct, you can only look up the single top level element here.

Note

Not DOM compliant.