NodeIsDefaultNamespace Method

The isDefaultNamespace() method of the Node interface accepts a namespace URI as an argument. It returns a boolean value that is true if the namespace is the default namespace on the given node and false if not.

Note: The default namespace of an HTML element is always "". For a SVG element, it is set by the xmlns attribute.

Namespace: Aspose.Html.Dom
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 22.1
public bool IsDefaultNamespace(
	string namespaceURI


Type: SystemString

A string representing the namespace against which the element will be checked.

Return Value

Type: Boolean

A boolean value that holds the return value true or false, indicating if the parameter is the default namespace, or not.

See Also