def

func:xmlAttr

xmlAttr(elem, name, checked: true)

Get an attribute from an element by its non-qualified local name. If the attribute is not found and checked is false then return null otherwise throw XErr.

Examples:

xmlRead("<x a='v'/>").xmlAttr("a").xmlVal   >>  "v"
xmlRead("<x/>").xmlAttr("a", false).xmlVal  >>  null

meta

supertypes

feature

Feature namespace of definitions formatted as feature:name

    func

Axon function