Cursor.attributes

If the current node is an element, return its attributes as a range of triplets (prefix, name, value); if the current node is the document node, return the attributes of the xml declaration (encoding, version, ...); otherwise, returns an empty array.

struct Cursor(P, Flag!"conflateCDATA" conflateCDATA = Yes.conflateCDATA, Flag!"processBadDocument" processBadDocument = No.processBadDocument)
@trusted
attributes
()

Meta