return rdf_CreateAnonymousResource(nsCAutoString(url), aResource);
return gRDFService->GetAnonymousResource(aResource);
XULContentSinkImpl::GetXULIDAttribute(const nsIParserNode& aNode,                                      nsIRDFResource** aResource){    nsAutoString k;    nsAutoString attr;    PRInt32 nameSpaceID;    PRInt32 ac = aNode.GetAttributeCount();	    for (PRInt32 i = 0; i < ac; i++) {        // Get upper-cased key        const nsString& key = aNode.GetKeyAt(i);        attr = key;        nsIAtom* prefix = CutNameSpacePrefix(attr);        if (prefix) {            SplitQualifiedName(key, nameSpaceID, attr);            NS_RELEASE(prefix);        }        else {            // Unqualified attributes have a namespace of none (always)            nameSpaceID = kNameSpaceID_None;        }		// Look for XUL:ID        if (nameSpaceID != kNameSpaceID_None)            continue;        if (attr != kXULID)            continue;        // Found it! Use the ID they specify as the basis for the URI        // of the element.        nsAutoString id = aNode.GetValueAt(i);        nsRDFParserUtils::StripAndConvert(id);        nsCAutoString uri;        nsRDFContentUtils::MakeElementURI(mDocument, id, uri);        return gRDFService->GetResource(uri, aResource);    }    // Otherwise, we couldn't find anything, so just gensym one...    nsXPIDLCString url;    mDocumentURL->GetSpec(getter_Copies(url));    return rdf_CreateAnonymousResource(nsCAutoString(url), aResource);}