Description
The SetName method sets the name of the root element that is declared by this PBDOM_DOCTYPE.
Syntax
pbdom_doctype_name.SetName(string strName)
Argument |
Description |
---|---|
pbdom_doctype_name |
The name of a PBDOM_DOCTYPE object |
strName |
The new name you want to set for the root element that is declared by the current PBDOM_DOCTYPE |
Return value
Boolean.
Returns true if the name of the root element was changed and false otherwise.