aResult.Append(NS_LITERAL_STRING("</labelrow>").get());
aResult.AppendLiteral("</labelrow>");
nsresult AppendLabel(nsAbCardProperty *aCard, AppendItem *aItem, mozITXTToHTMLConv *aConv, nsString &aResult){  nsresult rv;    nsCOMPtr<nsIStringBundle> bundle;  nsCOMPtr<nsIStringBundleService> stringBundleService = do_GetService(NS_STRINGBUNDLE_CONTRACTID, &rv);   NS_ENSURE_SUCCESS(rv,rv);  rv = stringBundleService->CreateBundle(sAddrbookProperties, getter_AddRefs(bundle));  NS_ENSURE_SUCCESS(rv,rv);     nsXPIDLString label;    nsXPIDLString attrValue;  rv = aCard->GetCardValue(aItem->mColumn, getter_Copies(attrValue));  NS_ENSURE_SUCCESS(rv,rv);  if (attrValue.IsEmpty())    return NS_OK;  rv = bundle->GetStringFromName(NS_ConvertASCIItoUCS2(aItem->mLabel).get(), getter_Copies(label));  NS_ENSURE_SUCCESS(rv, rv);  aResult.Append(NS_LITERAL_STRING("<labelrow><label>").get());  aResult.Append(label.get());  aResult.Append(NS_LITERAL_STRING(": ").get());  aResult.Append(NS_LITERAL_STRING("</label>").get());  rv = AppendLine(aCard, aItem, aConv, aResult);  NS_ENSURE_SUCCESS(rv,rv);  aResult.Append(NS_LITERAL_STRING("</labelrow>").get());    return NS_OK;}