-
Notifications
You must be signed in to change notification settings - Fork 4
AttributesMap
do- edited this page Oct 13, 2022
·
16 revisions
AttributesMap is a Map descendant connected to XMLReader internals to process
const a = new AttributesMap (entityResolver = null, nsMap = null)The set method is redefined so:
- zero length string value (
'') is replaced bynull(Oracle database style); -
entityResolveris in use to transform the value (unless null); - if
nsMapis not null and thekeyis'xmlns'or starts with'xmlns:', the value is stored innsMapinstead of the current object.
If namespaceURI is set, nsMap is scanned for prefixes mapped to it, corresponding qualified names are constructed and used as lookup keys.
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).