public override string GetAttribute(string localName, string namespaceURI)
{
if (_curNode.NodeType != XPathNodeType.Element)
{
return string.Empty; //other type of nodes can't have attributes
}
_temp.MoveTo(_curNode);
return _temp.MoveToAttribute(localName, namespaceURI) ? _temp.Value : string.Empty;
}