Home > PHP > Function > DOM XML (PHP 4) > DomAttribute->specified()

DomAttribute->specified()

DomAttribute->specified - Checks if attribute is specified

Syntax

bool DomAttribute->specified ()

Arguments

-

Description

Checks if the attribute was explicitly given a value in the original document.

Version

PHP 4.1.0

Return value

Returns TRUE on success or FALSE on failure.