libdom
|
Go to the source code of this file.
Functions | |
bool | _dom_validate_name (dom_string *name) |
bool | _dom_validate_ncname (dom_string *name) |
bool _dom_validate_name | ( | dom_string * | name | ) |
Test whether the name is a valid one according XML 1.0 standard. For the standard please refer:
http://www.w3.org/TR/2004/REC-xml-20040204/
name | The name need to be tested |
bool _dom_validate_ncname | ( | dom_string * | name | ) |
Validate whether the string is a legal NCName. Refer http://www.w3.org/TR/REC-xml-names/ for detail.
str | The name to validate |