nsIRDFDataSource::GetIID(),
NS_GET_IID(nsIRDFDataSource),
RDFXMLDataSourceImpl::Init(){    nsresult rv;    rv = nsComponentManager::CreateInstance(kRDFInMemoryDataSourceCID,                                            nsnull,                                            nsIRDFDataSource::GetIID(),                                            (void**) &mInner);    if (NS_FAILED(rv)) return rv;    // Initialize the name space stuff to know about any "standard"    // namespaces that we want to look the same in all the RDF/XML we    // generate.    //    // XXX this is a bit of a hack, because technically, the document    // should've defined the RDF namespace to be _something_, and we    // should just look at _that_ and use it. Oh well.    AddNameSpace(NS_NewAtom("RDF"), RDF_NAMESPACE_URI);    if (gRefCnt++ == 0) {        NS_WITH_SERVICE(nsIRDFService, rdf, kRDFServiceCID, &rv);        NS_ASSERTION(NS_SUCCEEDED(rv), "unable to get RDF service");        if (NS_FAILED(rv)) return rv;        rv = rdf->GetResource(RDF_NAMESPACE_URI "instanceOf", &kRDF_instanceOf);        rv = rdf->GetResource(RDF_NAMESPACE_URI "nextVal",    &kRDF_nextVal);        rv = rdf->GetResource(RDF_NAMESPACE_URI "Bag",        &kRDF_Bag);        rv = rdf->GetResource(RDF_NAMESPACE_URI "Seq",        &kRDF_Seq);        rv = rdf->GetResource(RDF_NAMESPACE_URI "Alt",        &kRDF_Alt);        rv = nsServiceManager::GetService(kRDFContainerUtilsCID,                                          nsIRDFContainerUtils::GetIID(),                                          (nsISupports**) &gRDFC);        NS_ASSERTION(NS_SUCCEEDED(rv), "unable to get container utils");        if (NS_FAILED(rv)) return rv;    }    return NS_OK;}