Searched defs:etree (Results 1 - 9 of 9) sorted by relevance

/inkscape/share/extensions/
H A Dseamless_pattern.py7 from lxml import etree namespace
24 self.document = etree.parse(os.path.join(path, "seamless_pattern.svg"))
188 namedview = inkex.etree.SubElement( root, inkex.addNS('namedview', 'sodipodi') );
H A Dlayout_nup.py23 import xml.etree.ElementTree as ElementTree namespace
26 from lxml import etree as ElementTree
H A DjessyInk_video.py30 from lxml import etree namespace
63 tmplRoot = etree.fromstring(tmplFile.read())
88 for entry in re.findall("url\(#.*\)", etree.tostring(node)):
H A Dpathscatter.py39 from lxml import etree namespace
168 self.gNode = etree.Element('{http://www.w3.org/2000/svg}g')
177 self.patternNode = etree.Element('{http://www.w3.org/2000/svg}use')
H A Dsynfig_prepare.py26 from inkex import NSS, addNS, etree, errormsg namespace
157 new_svg_doc = etree.parse(stream)
287 fill = etree.SubElement(group, addNS("path", "svg"))
288 stroke = etree.SubElement(group, addNS("path", "svg"))
H A Dinkex.py114 from lxml import etree namespace
202 p = etree.XMLParser(huge_tree=True)
203 self.document = etree.parse(stream, parser=p)
263 guide = etree.SubElement(
270 original = etree.tostring(self.original_document)
271 result = etree.tostring(self.document)
H A Dsynfig_output.py28 from inkex import NSS, addNS, etree, errormsg namespace
43 self.root_canvas = etree.fromstring(
195 layer = etree.SubElement(canvas, "layer")
250 param = etree.SubElement(layer, "param")
262 el = etree.SubElement(param, "real")
265 el = etree.SubElement(param, "integer")
268 el = etree.SubElement(param, "vector")
269 x = etree.SubElement(el, "x")
271 y = etree.SubElement(el, "y")
274 el = etree
[all...]
/inkscape/share/extensions/Barcode/
H A DBase.py24 from lxml import etree namespace
97 barcode = etree.Element('{%s}g' % SVG_URI)
120 rect = etree.SubElement(barcode, '{%s}rect' % SVG_URI)
137 text = etree.SubElement(barcode, '{%s}text' % SVG_URI)
/inkscape/share/filters/
H A Dsamplify.py13 from lxml import etree namespace
58 tdoc = etree.parse(tstream)
61 fdoc = etree.parse(fstream)
79 b = etree.Element(a.tag, nsmap=NSS)
103 tout = etree.ElementTree(copy_element(root))
116 text = etree.Element(e_text, nsmap=NSS)
126 clone = etree.Element(e_use, nsmap=NSS)
133 text = etree.Element(e_text, nsmap=NSS)
144 text = etree.Element(e_text, nsmap=NSS)
159 print etree
[all...]

Completed in 45 milliseconds