Class XMLNamespace

A namespace used in an XML file.

Example:

xmlns:android="http://schemas.android.com/apk/res/android"

Import path

import python

Direct supertypes

Indirect supertypes

Predicates

getPrefix

Gets the prefix of this namespace.

getURI

Gets the URI of this namespace.

isDefault

Holds if this namespace has no prefix.

toString

Gets a textual representation of this element.

Inherited predicates

getALocation

DEPRECATED: Use getLocation() instead.

from XMLLocatable
getLocation

Gets the source location for this element.

from XMLLocatable
hasLocationInfo

Holds if this element is at the specified location. The location spans column startcolumn of line startline to column endcolumn of line endline in file filepath. For more information, see Locations.

from XMLLocatable