Skip to content

NamespacePrefixesMap

do- edited this page May 14, 2022 · 9 revisions

NamespacePrefixesMap is a Map descendant representing aliases of namespace declarations when writing XML text.

Unlike NamespacesMap it maps namespace URIs to generated prefixes: ns0, ns1 etc. which makes sense solely for XML serialization tasks. Naturally, this is an XMLMarshaller internal class.

Constructor

let ns = new NamespacePrefixesMap (myXMLSchemata)

Generates prefixes for all namespaces in a given XMLSchemata.

Clone this wiki locally