QML - Create Your Own Adventure

XML Attribute

An XML attribute is used to further specify the meaning of the element. Example (in which "importance" is the attribute): <element importance="high">Text</element>.

Attribute names must be unique in the context of all attributes of that element. The order of the attributes within the element is of no importance. Therefore, the two following are the same:

  1. <element a="1" b="2" />
  2. <element b="2" a="1" />

Attribute names are case-sensitive.