method
Xml.attr
Xml.attr(node, key: string) -> string
Returns the value of attribute key (entity-decoded), or "" if the element has no such attribute. Use Xml.has to distinguish an empty value from an absent one.
Xml.attr(node, key: string) -> string
Returns the value of attribute key (entity-decoded), or "" if the element has no such attribute. Use Xml.has to distinguish an empty value from an absent one.