PySide6.QtCore.QXmlStreamNamespaceDeclaration¶
- class QXmlStreamNamespaceDeclaration¶
- The - QXmlStreamNamespaceDeclarationclass represents a namespace declaration. More…- Synopsis¶- Methods¶- def - __init__()
- def - namespaceUri()
- def - __ne__()
- def - __eq__()
- def - prefix()
 - Note - This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE - Detailed Description¶- An namespace declaration consists of a - prefix()and a- namespaceUri().- __init__()¶
 - Creates an empty namespace declaration. - __init__(prefix, namespaceUri)
- Parameters:
- prefix – str 
- namespaceUri – str 
 
 
 - Creates a namespace declaration with - prefixand- namespaceUri.- namespaceUri()¶
- Return type:
- str 
 
 - Returns the namespaceUri. - __ne__(rhs)¶
- Parameters:
- Return type:
- bool 
 
 - Compares - lhsnamespace declaration with- rhsand returns- trueif they are not equal; otherwise returns- false.- __eq__(rhs)¶
- Parameters:
- Return type:
- bool 
 
 - Compares - lhsnamespace declaration with- rhsand returns- trueif they are equal; otherwise returns- false.- prefix()¶
- Return type:
- str 
 
 - Returns the prefix.