Home | History | Annotate | Download | only in dom

Lines Matching refs:doctype

1286         writer.write("<!DOCTYPE ")
1364 def createDocument(self, namespaceURI, qualifiedName, doctype):
1365 if doctype and doctype.parentNode is not None:
1367 "doctype object owned by another DOM tree")
1372 and doctype is None)
1383 # of this function. If namespaceURI, qName and DocType are
1385 # Otherwise if doctype or namespaceURI are not None
1398 if doctype:
1399 doc.appendChild(doctype)
1402 if doctype:
1403 doctype.parentNode = doctype.ownerDocument = doc
1405 doc.doctype = doctype
1410 doctype = DocumentType(qualifiedName)
1411 doctype.publicId = publicId
1412 doctype.systemId = systemId
1413 return doctype
1485 doctype = None
1522 return self.doctype
1576 if self.doctype is not None:
1577 self.doctype.unlink()
1578 self.doctype = None
1595 assert clone.doctype is None
1596 clone.doctype = childclone