boolean XML_Util::isValidName (
string $string
)
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.
string $string
- string to be checked
Returns TRUE on success, PEAR_Error on failure.
This function should be called statically.