nsXULContentUtils::MakeElementResource(nsIDocument* aDocument, const nsAString& aID, nsIRDFResource** aResult)
nsXULContentUtils::MakeElementResource(nsIDocument* aDocument, const nsAReadableString& aID, nsIRDFResource** aResult)
nsXULContentUtils::MakeElementResource(nsIDocument* aDocument, const nsAString& aID, nsIRDFResource** aResult){    nsresult rv;    char buf[256];    nsFixedCString uri(buf, sizeof(buf), 0);    rv = MakeElementURI(aDocument, aID, uri);    if (NS_FAILED(rv)) return rv;    rv = gRDF->GetResource(uri, aResult);    NS_ASSERTION(NS_SUCCEEDED(rv), "unable to create resource");    if (NS_FAILED(rv)) return rv;    return NS_OK;}