return nsRDFContentUtils::GetElementRefResource(element, aResource);
return gXULUtils->GetElementRefResource(element, aResource);
RDFGenericBuilderImpl::GetDOMNodeResource(nsIDOMNode* aNode, nsIRDFResource** aResource){    nsresult rv;    // Given an nsIDOMNode that presumably has been created as a proxy    // for an RDF resource, pull the RDF resource information out of    // it.    nsCOMPtr<nsIContent> element;    if (NS_FAILED(rv = aNode->QueryInterface(kIContentIID, getter_AddRefs(element) ))) {        NS_ERROR("DOM element doesn't support nsIContent");        return rv;    }    return nsRDFContentUtils::GetElementRefResource(element, aResource);}