nsresult result=aScanner.ReadUntil(aString,theTerminals,PR_FALSE,PR_FALSE);
nsresult result=aScanner.ReadUntil(aString,theTerminals,PR_TRUE,PR_FALSE);
nsresult ConsumeAttributeValueText(PRUnichar,nsString& aString,nsScanner& aScanner){  static const char* theTerminals="\b\t\n\r >";  nsresult result=aScanner.ReadUntil(aString,theTerminals,PR_FALSE,PR_FALSE);    //Let's force quotes if either the first or last char is quoted.  PRUnichar theLast=aString.Last();  PRUnichar theFirst=aString.First();  if(kQuote==theLast) {    if(kQuote!=theFirst) {      aString.Insert(kQuote,0);;    }  }  else if(kQuote==theFirst) {    if(kQuote!=theLast) {      aString+=kQuote;    }  }  return result;}