- sxml:attr-list nodeprocedure
Returns the list of attributes for a given SXML node. The empty list is returned if the given node is not an element, or if it has no list of attributes.
This differs from sxml:attr-list-u in that this procedure accepts any SXML node while sxml:attr-list-u only accepts nodelists or elements. This means that sxml:attr-list-u will throw an error if you pass it a text node (a string), while sxml:attr-list will not.