|
|||||
Attributes: order of indexing | |||||
Prerequisite Concepts | Related Syntax |
The attributes
and the data-attributes
shelves are indexed:
specified
qualifier is not given. The shelf contains all of the declared attributes.
specified
qualifier is given.
The following output action gives the value of the first attribute declared for the current element, no matter what its name or where its value is specified in a start tag. The following is in error if there are no attributes declared for the currently opened element, or if the first declared attribute has neither a default nor a specified value:
output attributes item 1
In the next case the value of the first attribute specified in the start tag is output, no matter what its declared order. (Here the output action is an error if no attributes are specified in the start tag, even if there are declared attributes and they all have default values.)
output specified attributes item 1
Prerequisite Concepts Data attributes associated with entity attributes Elements |
Related Syntax attributes data-attributes |
---- |