array(Element) get_elements(string name)
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.
Not DOM compliant.