/external/markdown/markdown/extensions/ |
D | rss.py | 2 from markdown import etree 65 rss = etree.Element("rss") 68 channel = etree.SubElement(rss, "channel") 74 element = etree.SubElement(channel, tag) 82 item = etree.SubElement(channel, "item") 83 link = etree.SubElement(item, "link") 85 title = etree.SubElement(item, "title") 89 guidElem = etree.SubElement(item, "guid") 95 description = etree.SubElement(item, "description") 101 content = "\n".join([etree.tostring(node)
|
D | toc.py | 12 from markdown import etree 23 div = etree.Element("div") 29 header = etree.SubElement(div, "span") 68 newlist = etree.Element("ul") 90 last_li = etree.Element("li") 91 link = etree.SubElement(last_li, "a") 96 anchor = etree.SubElement(c, "a")
|
D | tables.py | 18 from markdown import etree 51 table = etree.SubElement(parent, 'table') 52 thead = etree.SubElement(table, 'thead') 54 tbody = etree.SubElement(table, 'tbody') 60 tr = etree.SubElement(parent, 'tr') 68 c = etree.SubElement(tr, tag)
|
D | footnotes.py | 27 from markdown import etree 120 div = etree.Element("div") 122 hr = etree.SubElement(div, "hr") 123 ol = etree.SubElement(div, "ol") 126 li = etree.SubElement(ol, "li") 129 backlink = etree.Element("a") 142 p = etree.SubElement(li, "p") 263 sup = etree.Element("sup") 264 a = etree.SubElement(sup, "a")
|
D | def_list.py | 23 from markdown import etree 62 dl = etree.SubElement(parent, 'dl') 65 dt = etree.SubElement(dl, 'dt') 69 dd = etree.SubElement(dl, 'dd') 84 dd = markdown.etree.SubElement(parent, 'dd')
|
D | abbr.py | 27 from markdown import etree 85 abbr = etree.Element('abbr')
|
/external/markdown/markdown/ |
D | etree_loader.py | 10 import xml.etree.cElementTree as etree_in_c 13 import xml.etree.ElementTree as etree namespace 19 import elementtree.ElementTree as etree namespace 28 elif etree.VERSION < "1.1": 32 return etree
|
D | inlinepatterns.py | 177 el = markdown.etree.Element(self.tag) 185 return markdown.etree.Element(self.tag) 195 el = markdown.etree.Element(self.tag) 208 el1 = markdown.etree.Element(tag1) 209 el2 = markdown.etree.SubElement(el1, tag2) 226 el = markdown.etree.Element("a") 278 el = markdown.etree.Element("img") 316 el = markdown.etree.Element('a') 329 el = markdown.etree.Element("img") 340 el = markdown.etree.Element("a") [all …]
|
D | blockprocessors.py | 155 li = markdown.etree.SubElement(parent, 'li') 206 pre = markdown.etree.SubElement(parent, 'pre') 207 code = markdown.etree.SubElement(pre, 'code') 240 quote = markdown.etree.SubElement(parent, 'blockquote') 277 p = markdown.etree.SubElement(lst[-1], 'p') 281 li = markdown.etree.SubElement(lst, 'li') 288 lst = markdown.etree.SubElement(parent, self.TAG) 298 li = markdown.etree.SubElement(lst, 'li') 351 h = markdown.etree.SubElement(parent, 'h%d' % len(m.group('level'))) 377 h = markdown.etree.SubElement(parent, 'h%d' % level) [all …]
|
D | html4.py | 41 ElementTree = markdown.etree.ElementTree 42 QName = markdown.etree.QName 43 Comment = markdown.etree.Comment 44 PI = markdown.etree.PI 45 ProcessingInstruction = markdown.etree.ProcessingInstruction
|
D | blockparser.py | 59 self.root = markdown.etree.Element(markdown.DOC_TAG) 61 return markdown.etree.ElementTree(self.root)
|
/external/parameter-framework/upstream/tools/xmlValidator/ |
D | xmlValidator.py | 31 from lxml import etree 66 xmlTree = etree.parse(xmlFilePath) 83 schemaContent = etree.parse(schemaFilePath) 84 schema = etree.XMLSchema(schemaContent) 85 xmlContent = etree.parse(xmlFilePath)
|
/external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/ |
D | diagnose.py | 36 from lxml import etree 37 print "Found lxml version %s" % ".".join(map(str,etree.LXML_VERSION)) 75 from lxml import etree 76 for event, element in etree.iterparse(StringIO(data), html=html, **kwargs): 176 from lxml import etree 178 etree.HTML(data)
|
/external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/builder/ |
D | _lxml.py | 9 from lxml import etree 24 DEFAULT_PARSER_CLASS = etree.XMLParser 42 return etree.XMLParser( 120 except (UnicodeDecodeError, LookupError, etree.ParserError), e: 219 return etree.HTMLParser 227 except (UnicodeDecodeError, LookupError, etree.ParserError), e:
|
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/treebuilders/ |
D | etree_lxml.py | 21 from . import etree as etree_builders 24 import lxml.etree as etree namespace 30 comment_type = etree.Comment("asd").tag 94 assert isinstance(element, etree._Element) 188 implementation = etree 191 builder = etree_builders.getETreeModule(etree, fullTree=fullTree) 343 root = etree.fromstring(docStr) 347 root.addprevious(etree.Comment(comment_token["data"]))
|
D | __init__.py | 69 from . import etree 73 return etree.getETreeModule(implementation, **kwargs).TreeBuilder
|
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/tests/ |
D | test_serializer.py | 21 from lxml import etree 149 self.parser = etree.XMLParser(resolve_entities=False) 155 tree = etree.fromstring(doc, parser=self.parser).getroottree() 161 tree = etree.fromstring(doc, parser=self.parser).getroottree() 167 tree = etree.fromstring(doc, parser=self.parser).getroottree()
|
/external/markdown/ |
D | regression-tests.py | 43 root = markdown.etree.Element("div") 46 self.assertEqual(markdown.etree.tostring(root), "<div><p>foo</p></div>") 52 self.assert_(isinstance(tree, markdown.etree.ElementTree)) 53 self.assert_(markdown.etree.iselement(tree.getroot())) 54 self.assertEqual(markdown.etree.tostring(tree.getroot()),
|
/external/chromium-trace/catapult/third_party/html5lib-python/doc/ |
D | html5lib.treebuilders.rst | 28 :mod:`etree` Module 31 .. automodule:: html5lib.treebuilders.etree
|
D | html5lib.treewalkers.rst | 28 :mod:`etree` Module 31 .. automodule:: html5lib.treewalkers.etree
|
D | movingparts.rst | 15 * ``etree`` - this is the default; builds a tree based on ``xml.etree``, 18 ``xml.etree.cElementTree`` on Python 2.x) is used. 22 * ``lxml.etree`` - uses lxml's implementation of the ``ElementTree`` 60 provides walkers for all three supported types of trees (``etree``, 79 >>> walker = html5lib.getTreeWalker("etree")
|
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/treewalkers/ |
D | lxmletree.py | 4 from lxml import etree 5 from ..treebuilders.etree import tag_regexp 142 elif node.tag == etree.Comment: 145 elif node.tag == etree.Entity:
|
/external/vulkan-validation-layers/ |
D | reg.py | 25 from lxml import etree 208 self.tree = etree.parse(file) 371 write(' Type', name, '->', etree.tostring(tobj.elem)[0:maxlen], file=filehandle) 375 write(' Group', name, '->', etree.tostring(gobj.elem)[0:maxlen], file=filehandle) 379 write(' Enum', name, '->', etree.tostring(eobj.elem)[0:maxlen], file=filehandle) 383 write(' Command', name, '->', etree.tostring(cobj.elem)[0:maxlen], file=filehandle) 387 etree.tostring(self.apidict[key].elem)[0:maxlen], file=filehandle) 391 etree.tostring(self.extdict[key].elem)[0:maxlen], file=filehandle)
|
/external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/tests/ |
D | test_lxml.py | 7 import lxml.etree 9 LXML_VERSION = lxml.etree.LXML_VERSION
|
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/ |
D | utils.py | 8 import xml.etree.cElementTree as default_etree 10 import xml.etree.ElementTree as default_etree
|