QXmlStreamAttributes Class
The QXmlStreamAttributes class represents a vector of QXmlStreamAttribute. More...
| Header: | #include <QXmlStreamAttributes> |
| qmake: | QT += core |
| Since: | Qt 4.3 |
| Inherits: | QVector |
This class was introduced in Qt 4.3.
Note: All functions in this class are reentrant.
Detailed Description
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().