domelement.setidattributenode(3) php man page | unix.com

Man Page: domelement.setidattributenode

Operating Environment: php

Section: 3

DOMELEMENT.SETIDATTRIBUTENODE(3)					 1					  DOMELEMENT.SETIDATTRIBUTENODE(3)

DOMElement::setIdAttributeNode - Declares the attribute specified by node to be of type ID

SYNOPSIS
public void DOMElement::setIdAttributeNode (DOMAttr $attr, bool $isId) DESCRIPTION
Declares the attribute specified by $attr to be of type ID. PARAMETERS
o $attr - The attribute node. o $isId - Set it to TRUE if you want $name to be of type ID, FALSE otherwise. RETURN VALUES
No value is returned. ERRORS
/EXCEPTIONS o DOM_NO_MODIFICATION_ALLOWED_ERR - Raised if the node is readonly. o DOM_NOT_FOUND - Raised if $name is not an attribute of this element. SEE ALSO
DOMDocument::getElementById, DOMElement::setIdAttribute, DOMElement::setIdAttributeNS. PHP Documentation Group DOMELEMENT.SETIDATTRIBUTENODE(3)
Related Man Pages
domattr(3) - php
xml::libxml::attr(3) - osx
domelement(3) - php
dom_import_simplexml(3) - php
xml::dom::element(1) - redhat
Similar Topics in the Unix Linux Community
Forum Video Tutorial: How to Use Code Tags
Status of UNIX.COM Forum Transformation
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch