internal bool GetYesNo(string value)
{
Debug.Assert(value != null);
Debug.Assert((object)value == (object)Input.Value); // this is always true. Why we passing value to this function.
if (value == "yes")
{
return true;
}
if (value == "no")
{
return false;
}
throw XsltException.Create(SR.Xslt_InvalidAttrValue, Input.LocalName, value);
}