Skip to content

NamespacesMap

do- edited this page Nov 28, 2021 · 11 revisions

AttributesMap is a Map descendant representing namespace declarations of an XML element in the context of all his ancestors.

Constructor

 const n = new NamespacesMap (xmlNode)

If xmlNode has a parent, copies the concent from its namespacesMap.

Methods

Name Type Description
getNamespaceURI (qName) string URI of the namespace for this Qualified name
getQName (localName, namespaceURI) string Construct the qualified name for the given pair

Clone this wiki locally