XML_Util::isValidName()

XML_Util::isValidName() -- verify an XML name

Referentiesamenvatting

require_once 'XML/Util.php';

boolean XML_Util::isValidName (string $string)

Beschrijving

Checks, whether a string is a valid XML name. In XML the names of tags and attributes must follow strict rules. This method can be used to validate the names you are using.

Parameter

Return waarde

Geeft TRUE terug bij success, PEAR_Error als het faalt.

Note

Deze functie zou statisch moeten worden aangeroepen.