-
Notifications
You must be signed in to change notification settings - Fork 4
AttributesMap
do- edited this page Nov 28, 2021
·
16 revisions
AttributesMap is a Map descendant connected to XMLReader internals to process
const a = new AttributesMap (xmlReader, nsMap = null)The set method is redefined so:
- if
xmlReader.useEntitiesis set on, thevalueare handled with EntityResolver before being set; - if
nsMapis not null and thekeyis'xmlns'or starts with'xmlns:', the value is stored innsMapinstead of the current object.
Returns the part of qName after ':', or the whole qName unless it contains ':'. Proxy to XMLNode.getLocalName (qName).
Returns the namespace URI for this Qualified name. Proxy to NamespacesMap.getNamespaceURI (qName).