Tag.attributes

Access all attributes that don't have a namespace

Returns a random access range of Attribute objects that supports numeric-indexing, string-indexing, slicing and length.

Since SDLang allows multiple attributes with the same name, string-indexing returns a random access range of all attributes with the given name.

The string-indexing does not support namespace prefixes. Use namespace[string].attributes or all.attributes for that.

See API Overview for a high-level overview (and examples) of how to use this.

class Tag
@property
attributes
()

Meta