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: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to