|  | Home · Overviews · Examples |

# QXmlAttributes Class Reference
[com.trolltech.qt.xml module]

The `QXmlAttributes` class provides XML attributes. More...

## Detailed Description

The `QXmlAttributes` class provides XML attributes.

If attributes are reported by QXmlContentHandler::startElement() this class is used to pass the attribute values.

Use `index` to locate the position of an attribute in the list, `count` to retrieve the number of attributes, and `clear` to remove the attributes. New attributes can be added with `append`. Use `type` to get an attribute's type and `value` to get its value. The attribute's name is available from `localName` or `qName`, and its namespace URI from `uri`.