<attr> (Smart Tag Property)

This element specifies a single smart tag property which shall be located on the parent smart tag, specified via the <smartTag> element (§2.5.1.9). The attributes on this element shall be used to specify the contents of smart tag property.

example:
<w:smartTagPr>
  <w:attr w:name="attributeOne"  />
  <w:attr w:name="attributeTwo"  />
</w:smartTagPr>

This property bag specifies that the parent smart tag shall have two properties associated with it, the first with a name of attributeOne, and the second with a name of attributeTwo. ].

Parent Elements

<smartTagPr>2.5.1.10)

Attributes

Description

<name> (Name)

Specifies the name of the current custom XML attribute or smart tag property.

<w:customXmlPr>
  <w:attr w:name="companyName"  />
</w:customXmlPr>

The @name attribute specifies that the name for this property shall be companyName. ]

The possible values for this attribute are defined by the ST_String simple type (§2.18.89).

<uri> (Namespace)

Specifies the namespace URI of the current custom XML attribute or smart tag property.

If this attribute is omitted, the URI shall be assumed to be null (no associated URI).

<w:smartTagPr>
  <w:attr w:uri="http://schemas.openxmlformats
.org/2006/example"  />
</w:smartTagPr>

The @uri attribute specifies that the namespace for this property shall be http://schemas.openxmlformats.org/2006/example. ]

The possible values for this attribute are defined by the ST_String simple type (§2.18.89).

<val> (Value)

Specifies the value of the current custom XML attribute or smart tag property.

<w:smartTagPr>
  <w:attr  w:val="propertyValue" />
</w:smartTagPr>

The @val attribute specifies that the value for this property shall be propertyValue. ]

The possible values for this attribute are defined by the ST_String simple type (§2.18.89).

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_Attr">
	<attribute name="uri" type="ST_String"/>
	<attribute name="name" type="ST_String" use="required"/>
	<attribute name="val" type="ST_String" use="required"/>
</complexType>