DOMElement->setIdAttributeNS()
(no version information, might be only in CVS)
DOMElement->setIdAttributeNS() -- Declares the attribute specified by local name and namespace URI to be of type IDOpis
class DOMElement {void setIdAttributeNS ( string namespaceURI, string localName, bool isId )
}
Declares the attribute specified by localName and
namespaceURI to be of type ID.
Parametry
namespaceURIThe namespace URI of the attribute.
localNameThe local name of the attribute, as prefix:tagname.
isIdSet it to TRUE if you want
nameto be of type ID, FALSE otherwise.
Błędy/Wyjątki
- DOM_NO_MODIFICATION_ALLOWED_ERR
Raised if the node is readonly.
- DOM_NOT_FOUND
Raised if
nameis not an attribute of this element.
Patrz także
| DOMDocument->getElementById() |
| DOMElement->setIdAttribute() |
| DOMElement->setIdAttributeNode() |
| Poprzedni | Spis treści | Następny |
| DOMElement->setIdAttributeNode() | Początek rozdziału |