binding->GetTag(*getter_AddRefs(tag));
binding->GetTag(getter_AddRefs(tag));
nsXULTemplateBuilder::CompileBindings(Rule* aRule, nsIContent* aBindings){    // Add an extended rule's bindings.    nsresult rv;    PRInt32 count;    aBindings->ChildCount(count);    for (PRInt32 i = 0; i < count; ++i) {        nsCOMPtr<nsIContent> binding;        aBindings->ChildAt(i, *getter_AddRefs(binding));        nsCOMPtr<nsIAtom> tag;        binding->GetTag(*getter_AddRefs(tag));        if (tag.get() == nsXULAtoms::binding) {            rv = CompileBinding(aRule, binding);        }        else {#ifdef PR_LOGGING            nsAutoString tagstr;            tag->ToString(tagstr);            nsCAutoString tagstrC;            tagstrC.AssignWithConversion(tagstr);            PR_LOG(gLog, PR_LOG_ALWAYS,                   ("xultemplate[%p] unrecognized binding <%s>",                    this, NS_STATIC_CAST(const char*, tagstrC)));#endif            continue;        }        if (NS_FAILED(rv)) return rv;    }    return NS_OK;}