Lines Matching defs:addNS
26 from inkex import NSS, addNS, etree, errormsg
286 group = path_node.makeelement(addNS("g", "svg"))
287 fill = etree.SubElement(group, addNS("path", "svg"))
288 stroke = etree.SubElement(group, addNS("path", "svg"))
298 if addNS("nodetypes", "sodipodi") in attribs.keys():
299 nodetypes = attribs[addNS("nodetypes", "sodipodi")]
300 del attribs[addNS("nodetypes", "sodipodi")]
353 fill.set(addNS("nodetypes", "sodipodi"), nodetypes)
354 stroke.set(addNS("nodetypes", "sodipodi"), nodetypes)
373 if (node.tag == addNS("namedview", "sodipodi")
374 or node.tag == addNS("defs", "svg")
375 or node.tag == addNS("metadata", "svg")
376 or node.tag == addNS("foreignObject", "svg")):
381 if node.tag == addNS("svg", "svg") and node.get("viewBox"):
414 if (node.tag == addNS("svg", "svg")
415 or node.tag == addNS("g", "svg")
416 or node.tag == addNS("a", "svg")
417 or node.tag == addNS("switch", "svg")):