Home
last modified time | relevance | path

Searched refs:qnames (Results 1 – 12 of 12) sorted by relevance

/external/markdown/markdown/
Dhtml4.py128 def _serialize_html(write, elem, encoding, qnames, namespaces): argument
136 tag = qnames[tag]
141 _serialize_html(write, e, encoding, qnames, None)
151 v = qnames[v.text]
155 write(" %s=\"%s\"" % (qnames[k], v))
174 _serialize_html(write, e, encoding, qnames, None)
190 qnames, namespaces = _namespaces(
194 write, root, encoding, qnames, namespaces
204 qnames = {None: None}
227 qnames[qname] = encode("%s:%s" % (prefix, tag))
[all …]
/external/fonttools/Lib/fontTools/misc/
Detree.py191 qnames, namespaces = _namespaces(self._root)
192 _serialize_xml(write, self._root, qnames, namespaces)
325 qnames = {None: None}
346 qnames[qname] = "%s:%s" % (prefix, tag)
348 qnames[qname] = tag # default element
350 qnames[qname] = qname
358 if tag.text not in qnames:
361 if tag not in qnames:
368 if key not in qnames:
370 if isinstance(value, QName) and value.text not in qnames:
[all …]
/external/python/cpython3/Lib/xml/etree/
DElementTree.py774 qnames, namespaces = _namespaces(self._root, default_namespace)
776 serialize(write, self._root, qnames, namespaces,
842 qnames = {None: None}
862 qnames[qname] = "%s:%s" % (prefix, tag)
864 qnames[qname] = tag # default element
872 qnames[qname] = qname
880 if tag.text not in qnames:
883 if tag not in qnames:
890 if key not in qnames:
892 if isinstance(value, QName) and value.text not in qnames:
[all …]
/external/python/cpython2/Lib/xml/etree/
DElementTree.py816 qnames, namespaces = _namespaces(
820 serialize(write, self._root, encoding, qnames, namespaces)
835 qnames = {None: None}
858 qnames[qname] = encode("%s:%s" % (prefix, tag))
860 qnames[qname] = encode(tag) # default element
868 qnames[qname] = encode(qname)
880 if tag.text not in qnames:
883 if tag not in qnames:
890 if key not in qnames:
892 if isinstance(value, QName) and value.text not in qnames:
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/processor/
DXSLTAttributeDef.java1090 Vector qnames = new Vector(nQNames); in processQNAMES() local
1095 qnames.addElement(new QName(tokenizer.nextToken(), handler)); in processQNAMES()
1098 return qnames; in processQNAMES()
1127 Vector qnames = new Vector(nQNames); in processQNAMESRNU() local
1134 qnames.addElement(new QName(defaultURI,tok)); in processQNAMESRNU()
1136 qnames.addElement(new QName(tok, handler)); in processQNAMESRNU()
1139 return qnames; in processQNAMESRNU()
/external/python/cpython2/Lib/xml/sax/
Dxmlreader.py343 def __init__(self, attrs, qnames): argument
349 self._qnames = qnames
Dexpatreader.py353 qnames = {}
370 qnames[apair] = qname
373 AttributesNSImpl(newattrs, qnames))
/external/python/cpython3/Lib/xml/sax/
Dxmlreader.py342 def __init__(self, attrs, qnames): argument
348 self._qnames = qnames
Dexpatreader.py350 qnames = {}
367 qnames[apair] = qname
370 AttributesNSImpl(newattrs, qnames))
/external/libxml2/python/
Ddrv_libxml2.py195 attributesNSImpl._qnames = qnames = {}
212 qnames[attName] = qname
/external/python/cpython3/Doc/library/
Dxml.sax.reader.rst83 .. class:: AttributesNSImpl(attrs, qnames)
/external/python/cpython2/Doc/library/
Dxml.sax.reader.rst82 .. class:: AttributesNSImpl(attrs, qnames)