aType.Assign(NS_LITERAL_STRING("text/css"));
aType.AssignLiteral("text/css");
nsXMLStylesheetPI::GetStyleSheetInfo(nsAString& aTitle,                                     nsAString& aType,                                     nsAString& aMedia,                                     PRBool* aIsAlternate){  aTitle.Truncate();  aType.Truncate();  aMedia.Truncate();  *aIsAlternate = PR_FALSE;  // xml-stylesheet PI is special only in prolog  if (!nsContentUtils::InProlog(this)) {    return;  }  nsAutoString title, type, media, alternate;  GetAttrValue(NS_LITERAL_STRING("title"), title);  title.CompressWhitespace();  aTitle.Assign(title);  GetAttrValue(NS_LITERAL_STRING("alternate"), alternate);  // if alternate, does it have title?  if (alternate.EqualsLiteral("yes")) {    if (aTitle.IsEmpty()) { // alternates must have title      return;    } else {      *aIsAlternate = PR_TRUE;    }  }  GetAttrValue(NS_LITERAL_STRING("media"), media);  aMedia.Assign(media);  ToLowerCase(aMedia); // case sensitivity?  GetAttrValue(NS_LITERAL_STRING("type"), type);  nsAutoString mimeType;  nsAutoString notUsed;  nsParserUtils::SplitMimeType(type, mimeType, notUsed);  if (!mimeType.IsEmpty() && !mimeType.EqualsIgnoreCase("text/css")) {    aType.Assign(type);    return;  }  // If we get here we assume that we're loading a css file, so set the  // type to 'text/css'  aType.Assign(NS_LITERAL_STRING("text/css"));  return;}