def build_doctype(qualifiedName, publicId=None, systemId=None, internalSubset=None):
doctype = ElifeDocumentType(qualifiedName)<EOL>doctype._identified_mixin_init(publicId, systemId)<EOL>if internalSubset:<EOL><INDENT>doctype.internalSubset = internalSubset<EOL><DEDENT>return doctype<EOL>
Instantiate an ElifeDocumentType, a subclass of minidom.DocumentType, with
some properties so it is more testable