to the main page... about these slides...

Attribute declarations and descriptions

An attribute declaration allows the presence of a given attribute:
 attributedecl  ->  <AttributeDecl Name="attr.name" Optional="yes or no" ...>
                      stringtypeexp ...
                    </AttributeDecl>
("..." refers to ID information - described later...)


An attribute description tests the value of a declared attribute:

 attributedescr  ->  <Attribute Name="attr.name" Value="attr.value"/> |
                     <Attribute Name="attr.name">
                       stringtypeexp?
                     </Attribute>