private string SniffAttribute(string name)
{
this.SniffWhitespace();
string id = this.SniffName();
if (string.Equals(name, id, StringComparison.OrdinalIgnoreCase))
{
this.SniffWhitespace();
if (this.SniffPattern("="))
{
this.SniffWhitespace();
return this.SniffLiteral();
}
}
return null;
}