/external/markdown/markdown/ |
etree_loader.py | 10 import xml.etree.cElementTree as etree_in_c 13 import xml.etree.ElementTree as etree 19 import elementtree.ElementTree as etree 28 elif etree.VERSION < "1.1": 32 return etree
|
blockparser.py | 59 self.root = markdown.etree.Element(markdown.DOC_TAG) 61 return markdown.etree.ElementTree(self.root) 64 """ Parse a chunk of markdown text and attach to given etree node. 71 The ``parent`` etree Element passed in is altered in place. 78 """ Process blocks of markdown text and attach to given etree node.
|
blockprocessors.py | 33 """ Return the last child of an etree element. """ 69 of the block (i.e. inside a list), the parent etree element is also 74 * ``parent``: A etree element which will be the parent of the block. 86 the etree. 88 Note that both the ``parent`` and ``etree`` keywords are pointers 99 * ``parent``: A etree element which is the parent of the current block. 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' [all...] |
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
|
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/treebuilders/ |
__init__.py | 10 signature for their constructor, see treebuilders.etree.Comment) 44 "etree" - A generic builder for tree implementations exposing an 46 xml.etree.cElementTree if available and 47 xml.etree.ElementTree if not. 48 "lxml" - A etree-based builder for lxml.etree, handling 51 implementation - (Currently applies to the "etree" and "dom" tree types). A 53 xml.etree.ElementTree or xml.etree.cElementTree.""" 68 elif treeType == "etree" [all...] |
/external/markdown/markdown/extensions/ |
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 [all...] |
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)
|
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')
|
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")
|
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")
|
abbr.py | 27 from markdown import etree 85 abbr = etree.Element('abbr')
|
/external/parameter-framework/upstream/tools/xmlValidator/ |
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)
|
/prebuilts/tools/linux-x86_64/kythe/studio/ |
manifest2vname.py | 22 import xml.etree.ElementTree 25 doc = xml.etree.ElementTree.parse('.repo/manifests/default.xml')
|
/frameworks/base/tools/layoutlib/rename_font/ |
test.py | 17 import xml.etree.ElementTree as etree 33 tree = etree.parse(ttx_path)
|
build_font_single.py | 32 import xml.etree.ElementTree as etree 93 tree = etree.parse(ttx_path)
|
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/treewalkers/ |
__init__.py | 13 __all__ = ["getTreeWalker", "pprint", "dom", "etree", "genshistream", "lxmletree", 32 "etree" - A generic walker for tree implementations exposing an 34 ElementTree, cElementTree and lxml.etree). 35 "lxml" - Optimized walker for lxml.etree 38 implementation - (Currently applies to the "etree" tree type only). A module 39 implementing the tree type e.g. xml.etree.ElementTree or 55 elif treeType == "etree": 56 from . import etree 59 # XXX: NEVER cache here, caching is done in the etree submodule 60 return etree.getETreeModule(implementation, **kwargs).TreeWalke [all...] |
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/v8/tools/testrunner/local/ |
junit_output.py | 29 import xml.etree.ElementTree as xml
|
/external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/tests/ |
test_lxml.py | 7 import lxml.etree 9 LXML_VERSION = lxml.etree.LXML_VERSION
|
/external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/ |
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/html5lib-python/html5lib/tests/ |
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/ |
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/beautifulsoup4/bs4/builder/ |
_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/ |
utils.py | 8 import xml.etree.cElementTree as default_etree 10 import xml.etree.ElementTree as default_etree
|
/frameworks/base/tools/aapt2/ |
public_attr_map.py | 4 import xml.etree.ElementTree as ET
|