internal string LookupNamespace(string prefix)
{
for (int i = _nsTop; i >= 0; i--)
{
if (_nsStack[i].prefix == prefix)
{
return _nsStack[i].namespaceUri;
}
}
return (_predefinedNamespaces != null) ? _predefinedNamespaces.LookupNamespace(prefix) : null;
}