Re: DOMNode::getAttribute()
| From: | David Zülke | Date: | Fri, 03 Jun 2011 22:16:49 +0000 |
| Subject: | Re: DOMNode::getAttribute() | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-52875@lists.php.net to get a copy of this message | ||
On 03.06.2011, at 22:38, Matt Pelmear wrote:
> Hello,
>
> I discovered today that the DOMNode::getAttribute() function (which is
> undocumented on the php site)
It's DOMElement::getAttribute()...
> returns an empty string if the requested
> attribute doesn't exist in the node.
Yes, but that's in line with the W3C DOM spec!
David
Attachment: [application/pkcs7-signature] smime.p7s
Attachment: [application/pkcs7-signature] smime.p7s