QXmlNamespaceSupport Class

The QXmlNamespaceSupport class is a helper class for XML readers which want to include namespace support. More...

Header: #include <QXmlNamespaceSupport>
qmake: QT += xml
Since: Qt 4.4

This class is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This class was introduced in Qt 4.4.

Note: All functions in this class are reentrant.

Detailed Description

You can set the prefix for the current namespace with setPrefix(), and get the list of current prefixes (or those for a given URI) with prefixes(). The namespace URI is available from uri(). Use pushContext() to start a new namespace context, and popContext() to return to the previous namespace context. Use splitName() or processName() to split a name into its prefix and local name.