Namespaces constructor
Namespaces(
- List<
XmlAttribute> attributes
Creates a new Namespace object utilizing the root node
Implementation
Namespaces(List<XmlAttribute> attributes) {
for (final attribute in attributes) {
if (attribute.name.qualified.startsWith('xml')) {
_extensions[attribute.name.qualified] = attribute.value;
} else {
_attributes[attribute.name.qualified] = attribute.value;
}
}
}