if (mAttributes[i].mNodeInfo->Equals(aName, aNameSpaceID)) { mAttributes[i].mValue.GetValue( aValue );
if ((mAttributes[i].mName.get() == aName) && (mAttributes[i].mNameSpaceID == aNameSpaceID)) { aValue = mAttributes[i].mValue;
nsXULPrototypeElement::GetAttribute(PRInt32 aNameSpaceID, nsIAtom* aName, nsAWritableString& aValue){    for (PRInt32 i = 0; i < mNumAttributes; ++i) {        if (mAttributes[i].mNodeInfo->Equals(aName, aNameSpaceID)) {            mAttributes[i].mValue.GetValue( aValue );            return aValue.Length() ? NS_CONTENT_ATTR_HAS_VALUE : NS_CONTENT_ATTR_NO_VALUE;        }            }    return NS_CONTENT_ATTR_NOT_THERE;}