Home
last modified time | relevance | path

Searched refs:etree (Results 1 – 25 of 44) sorted by relevance

12

/external/markdown/markdown/extensions/
Drss.py2 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)
Dtoc.py12 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")
Dtables.py18 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)
Dfootnotes.py27 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")
Ddef_list.py23 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')
Dabbr.py27 from markdown import etree
85 abbr = etree.Element('abbr')
Dheaderid.py69 from markdown import etree
111 h = markdown.etree.SubElement(parent, 'h%d' % level)
Dwikilinks.py124 a = markdown.etree.Element('a')
/external/markdown/markdown/
Detree_loader.py10 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
Dinlinepatterns.py177 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 …]
Dblockprocessors.py155 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 …]
Dhtml4.py41 ElementTree = markdown.etree.ElementTree
42 QName = markdown.etree.QName
43 Comment = markdown.etree.Comment
44 PI = markdown.etree.PI
45 ProcessingInstruction = markdown.etree.ProcessingInstruction
Dblockparser.py59 self.root = markdown.etree.Element(markdown.DOC_TAG)
61 return markdown.etree.ElementTree(self.root)
D__init__.py173 etree = etree_loader.importETree() variable
305 'xhtml' : etree.tostring,
306 'xhtml1': etree.tostring,
/external/parameter-framework/upstream/tools/xmlValidator/
DxmlValidator.py31 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/markdown/
Dregression-tests.py43 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/vulkan-validation-layers/
Dreg.py18 import xml.etree.ElementTree as etree namespace
215 self.tree = etree.parse(file)
398 write(' Type', name, '->', etree.tostring(tobj.elem)[0:maxlen], file=filehandle)
402 write(' Group', name, '->', etree.tostring(gobj.elem)[0:maxlen], file=filehandle)
406 write(' Enum', name, '->', etree.tostring(eobj.elem)[0:maxlen], file=filehandle)
410 write(' Command', name, '->', etree.tostring(cobj.elem)[0:maxlen], file=filehandle)
414 etree.tostring(self.apidict[key].elem)[0:maxlen], file=filehandle)
418 etree.tostring(self.extdict[key].elem)[0:maxlen], file=filehandle)
Dvk-layer-introspect.py23 import xml.etree.ElementTree
348 tree = xml.etree.ElementTree.parse(path)
/external/selinux/python/sepolicy/sepolicy/
Dinterface.py127 import xml.etree.ElementTree
146 tree = xml.etree.ElementTree.parse(path)
148 tree = xml.etree.ElementTree.fromstring(xml_path)
/external/vulkan-validation-layers/layers/
Dspec.py4 import xml.etree.ElementTree as etree namespace
103 self.tree = etree.parse(urllib2.urlopen(spec_url))
106 self.tree = etree.parse(spec_file)
/external/markdown/docs/
Dwriting_extensions.txt89 el = markdown.etree.Element('em')
193 * **``parent``**: The parent etree Element of the block. This can be useful as
203 * **``parent``**: A pointer to the parent etree Element of the block. The run
228 Returns the last child of the given etree Element or ``None`` if it had no
305 the same version of ElementTree as markdown. The module is named ``etree``
308 from markdown import etree
310 ``markdown.etree`` tries to import ElementTree from any known location, first
311 as a standard library module (from ``xml.etree`` in Python 2.5), then as a third
327 table = etree.Element("table")
329 tr = etree.SubElement(table, "tr") # Add child tr to table
[all …]
/external/chromium-trace/catapult/telemetry/third_party/modulegraph/modulegraph/
Dfind_modules.py95 import xml.etree
96 files = os.listdir(xml.etree.__path__[0])
/external/jsoncpp/
Dmakerelease.py23 import xml.etree.ElementTree as ElementTree
64 etree = ElementTree.fromstring( stdout )
66 for entry in etree.getiterator( 'entry' ):
/external/v8/tools/testrunner/local/
Djunit_output.py29 import xml.etree.ElementTree as xml
/external/eigen/Eigen/src/SuperLUSupport/
DSuperLUSupport.h25 … int *perm_c, int *perm_r, int *etree, char *equed, \
34 …PREFIX##gssvx(options, A, perm_c, perm_r, etree, equed, R, C, L, …
49 … int *perm_c, int *perm_r, int *etree, char *equed, \
57 …PREFIX##gssvx(options, A, perm_c, perm_r, etree, equed, R, C, L, …
84 int *perm_c, int *perm_r, int *etree, char *equed, \
92 PREFIX##gsisx(options, A, perm_c, perm_r, etree, equed, R, C, L, \

12