< DOMNamespaceAware > Protocol Reference
Inheritance diagram for < DOMNamespaceAware >:
Detailed Description
Nodes that are aware of namespaces should conform to this protocol.
Namespace-aware nodes are elements and attributes by default.
Public Member Functions |
|
| (void) | setNamespaceURI:prefix: |
| (NSString *) | namespaceURI |
| (NSString *) | namespacePrefix |
Member Function Documentation
|
|
Returns the prefix of this node, or nil if the node has no prefix. |
|
|
Returns the namespace of this node, or nil if the node is not in a namespace. |
|
||||||||||||
|
Sets the namespace of this node. Pass nil or the empty string as URI to unset the namespace. Pass nil or the empty string as prefix to remove the prefix. A node cannot have a prefix without having a namespace URI, it can, however, have an URI without having a prefix.
|