GetName

Description

Allows you to obtain the name of the root element that is being constrained within the current PBDOM_DOCTYPE.

Syntax

pbdom_doctype_name.GetName()

Argument

Description

pbdom_doctype_name

The name of a PBDOM_DOCTYPE object


Return value

String.

Examples

If you have the following DOCTYPE declaration, the GetName method returns abc.

<!DOCTYPE abc [<!-- internal subset --> 
<!ELEMENT abc (#PCDATA)> <!ELEMENT data (#PCDATA)> <!ELEMENT inner_data (#PCDATA)>]>