GetNamespacePrefix

Description

Returns the namespace prefix for a PBDOM_ELEMENT object. If no namespace prefix exists for the PBDOM_ELEMENT object, GetNamespacePrefix returns an empty string.

Syntax

pbdom_element_name.GetNamespacePrefix()

Argument

Description

pbdom_element_name

The name of a PBDOM_ELEMENT object


Return value

String.

The namespace prefix for the PBDOM_ELEMENT object.

See also

AddNamespaceDeclaration

GetNamespaceUri

GetQualifiedName

RemoveNamespaceDeclaration

SetNamespace