QXmlAttributes Class
The QXmlAttributes class provides XML attributes. More...
| Header: | #include <QXmlAttributes> |
| qmake: | QT += xml |
This class is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Note: All functions in this class are reentrant.
Detailed Description
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().