- Index
- »
- xml
- »
- func:xmlElem
def
func:xmlElem
xmlElem(elem, name, checked: true)
Find an element by its non-qualified local name. If there are multiple child elements with the name, then the first one is returned. If the element is not found and checked is false then return null otherwise throw XErr.
Example:
xmlRead("<d><a/></d>").xmlElem("a")