AttributeValue

Define value of an attribute in construction.

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:


Syntax

AttributeValue

graphics/AttributeValue.png

AttributeValueContent AttributeValueContent

Description

An AttributeValue is part of an AttributeList inside an ElementConstructor. This expression specifies that attribute values are either delimited by single quotes or by double quotes.

Example

  • Some string literals as attribute values:

    <example quote1="This is Joe's house."
             quote2='I bought a 21" monitor today.'
             quote3="He's 5'11&quot; tall."/>