|  | Home · Overviews · Examples

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

The `QXmlStreamAttributes` class represents a vector of `QXmlStreamAttribute`. More...

## Detailed Description

The `QXmlStreamAttributes` class represents a vector of `QXmlStreamAttribute`.

Attributes are returned by a `QXmlStreamReader` in attributes() when the reader reports a start element. The class can also be used with a `QXmlStreamWriter` as an argument to writeAttributes().

The convenience function `value` loops over the vector and returns an attribute value for a given namespaceUri and an attribute's name.

New attributes can be added with `append`.