AttributeList

Creates a list of attributes.

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:


Syntax

AttributeList

graphics/AttributeList.png

QName AttributeValue EnclosedExpr

Description

An AttributeList is part of an ElementConstructor and creates a list of zero or more attributes. Each attribute is defined by a QName followed by an equals sign and either an enclosed expression or an AttributeValue that consists of literals or in turn an enclosed expression.

Example

  • Construct a section element with two attributes type and lang:

    <section type="overview" lang="en">
      <para>This section deals with element constructors.</para>
    </section>