NS_IF_RELEASE(gNameSpaceManager);
NS_IF_RELEASE(gTxNameSpaceManager);
Shutdown(nsIModule* aSelf){    NS_PRECONDITION(gInitialized, "module not initialized");    if (!gInitialized)        return;    gInitialized = PR_FALSE;    if (gXPathExceptionProvider) {        nsCOMPtr<nsIExceptionService> xs =            do_GetService(NS_EXCEPTIONSERVICE_CONTRACTID);        if (xs)            xs->UnregisterExceptionProvider(gXPathExceptionProvider,                                            NS_ERROR_MODULE_DOM_XPATH);        NS_RELEASE(gXPathExceptionProvider);    }    NS_IF_RELEASE(NS_CLASSINFO_NAME(XSLTProcessor));    NS_IF_RELEASE(NS_CLASSINFO_NAME(XPathEvaluator));    NS_IF_RELEASE(NS_CLASSINFO_NAME(XPathException));    NS_IF_RELEASE(NS_CLASSINFO_NAME(XPathExpression));    NS_IF_RELEASE(NS_CLASSINFO_NAME(XPathNSResolver));    NS_IF_RELEASE(NS_CLASSINFO_NAME(XPathResult));    txXSLTProcessor::txShutdown();    NS_IF_RELEASE(gTxSecurityManager);    NS_IF_RELEASE(gNameSpaceManager);    TX_LG_DELETE;}