GetNamespacePrefix Function

Class

XmlNode.

Action

Returns the namespace prefix specified on the element, attribute, or entity reference.

Syntax

sNamespacePrefix = XmlNode.GetNamespacePrefix ( )
Variable Description
sNamespacePrefix The text. LIST OF STRING.

Notes

If the namespace was <xmlns:xsl='http://www.anyco.com/xml/schema'> it returns xmlns. If no prefix is specified It returns an empty string.