GetName

Description

Obtains the name of the current PBDOM_PROCESSINGINSTRUCTION object.

Syntax

pbdom_pi_name.GetName()

Argument

Description

pbdom_pi_name

The name of a PBDOM_PROCESSINGINSTRUCTION object


Return value

String.

Examples

Calling the GetName method on the following processing instruction returns works:

<?works document="hello.doc" data="hello.wks" ?>

Usage

This method is similar to the GetTarget method. To PBDOM, the processing instruction target is synonymous with its name.