const nsAString& aName,
nsIAtom *aName,
NS_NewDOMDocumentType(nsIDOMDocumentType** aDocType,                      const nsAString& aName,                      nsIDOMNamedNodeMap *aEntities,                      nsIDOMNamedNodeMap *aNotations,                      const nsAString& aPublicId,                      const nsAString& aSystemId,                      const nsAString& aInternalSubset){  NS_ENSURE_ARG_POINTER(aDocType);  *aDocType = new nsDOMDocumentType(aName, aEntities, aNotations, aPublicId,                                    aSystemId, aInternalSubset);  if (!*aDocType) {    return NS_ERROR_OUT_OF_MEMORY;  }  NS_ADDREF(*aDocType);  return NS_OK;}