private void AttributeNamespaceLookup() { for (int i = _index + 1; i < _index + _attrCount + 1; i++) { NodeData at = _nodes[i]; if (at.type == XmlNodeType.Attribute && at.prefix.Length > 0) { at.ns = LookupNamespace(at); } } }