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.py190 qnames, namespaces = _namespaces(self._root)
191 _serialize_xml(write, self._root, qnames, namespaces)
324 qnames = {None: None}
345 qnames[qname] = "%s:%s" % (prefix, tag)
347 qnames[qname] = tag # default element
349 qnames[qname] = qname
357 if tag.text not in qnames:
360 if tag not in qnames:
367 if key not in qnames:
369 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/python/cpython3/Lib/xml/etree/
DElementTree.py746 qnames, namespaces = _namespaces(self._root, default_namespace)
748 serialize(write, self._root, qnames, namespaces,
814 qnames = {None: None}
834 qnames[qname] = "%s:%s" % (prefix, tag)
836 qnames[qname] = tag # default element
844 qnames[qname] = qname
852 if tag.text not in qnames:
855 if tag not in qnames:
862 if key not in qnames:
864 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)