Home
last modified time | relevance | path

Searched refs:doctype (Results 1 – 9 of 9) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/dom/
Dexpatbuilder.py234 if self.document.doctype:
238 self.document.doctype.internalSubset = subset
242 doctype = self.document.implementation.createDocumentType(
244 doctype.ownerDocument = self.document
245 _append_child(self.document, doctype)
246 self.document.doctype = doctype
247 if self._filter and self._filter.acceptNode(doctype) == FILTER_REJECT:
248 self.document.doctype = None
250 doctype = None
254 if doctype is not None:
[all …]
Dminidom.py1361 def createDocument(self, namespaceURI, qualifiedName, doctype): argument
1362 if doctype and doctype.parentNode is not None:
1369 and doctype is None)
1395 if doctype:
1396 doc.appendChild(doctype)
1399 if doctype:
1400 doctype.parentNode = doctype.ownerDocument = doc
1402 doc.doctype = doctype
1407 doctype = DocumentType(qualifiedName)
1408 doctype.publicId = publicId
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/dom/
Dexpatbuilder.py234 if self.document.doctype:
238 self.document.doctype.internalSubset = subset
242 doctype = self.document.implementation.createDocumentType(
244 doctype.ownerDocument = self.document
245 _append_child(self.document, doctype)
246 self.document.doctype = doctype
247 if self._filter and self._filter.acceptNode(doctype) == FILTER_REJECT:
248 self.document.doctype = None
250 doctype = None
254 if doctype is not None:
[all …]
Dminidom.py1357 def createDocument(self, namespaceURI, qualifiedName, doctype): argument
1358 if doctype and doctype.parentNode is not None:
1365 and doctype is None)
1391 if doctype:
1392 doc.appendChild(doctype)
1395 if doctype:
1396 doctype.parentNode = doctype.ownerDocument = doc
1398 doc.doctype = doctype
1403 doctype = DocumentType(qualifiedName)
1404 doctype.publicId = publicId
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_minidom.py22 def create_doc_without_doctype(doctype=None): argument
23 return getDOMImplementation().createDocument(None, "doc", doctype)
26 doctype = getDOMImplementation().createDocumentType("doc", None, None)
27 doctype.entities._seq = []
28 doctype.notations._seq = []
31 doctype.notations._seq.append(notation)
38 doctype.entities._seq.append(entity)
39 return doctype
42 doctype = create_nonempty_doctype()
43 doc = create_doc_without_doctype(doctype)
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/etree/
DElementTree.py1590 self.target.doctype(name, pubid, system[1:-1])
1591 elif self.doctype is not self._XMLParser__doctype:
1594 self.doctype(name, pubid, system[1:-1])
1604 def doctype(self, name, pubid, system): member in XMLParser
1613 __doctype = doctype
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/etree/
DElementTree.py1608 self.target.doctype(name, pubid, system[1:-1])
1609 elif self.doctype is not self._XMLParser__doctype:
1612 self.doctype(name, pubid, system[1:-1])
1622 def doctype(self, name, pubid, system): member in XMLParser
1631 __doctype = doctype
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dxmllib.py58 doctype = re.compile('<!DOCTYPE'+_S+'(?P<name>'+_Name+')' variable
332 res = doctype.match(rawdata, i)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dxmllib.py58 doctype = re.compile('<!DOCTYPE'+_S+'(?P<name>'+_Name+')' variable
332 res = doctype.match(rawdata, i)