{
      XMLNamespaceFactory theXMLNamespaceFactory = (XMLNamespaceFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.w3.org/XML/1998/namespace"); 
      if (theXMLNamespaceFactory != null)
      {
        return theXMLNamespaceFactory;
      }
    }