Search found 4 matches
- Wed May 18, 2016 12:01 am
- Forum: Programming
- Topic: [Inkscape Extension] Import SVG / Edit XML-Tree
- Replies: 7
- Views: 3370
Re: [Inkscape Extension] Import SVG / Edit XML-Tree
I have different Objects, i seperate them via xpath searchStr = '//svg:g[@attribute-creator="popup1"]' selectStr = template.xpath(searchStr, namespaces=inkex.NSS) Works fine, my Object is saved in selectStr[0] ...now i got Main Group (popup1) -Child Group Button1 --Rectangle Rect1 --Text -...
- Tue May 17, 2016 4:50 pm
- Forum: Programming
- Topic: [Inkscape Extension] Import SVG / Edit XML-Tree
- Replies: 7
- Views: 3370
Re: [Inkscape Extension] Import SVG / Edit XML-Tree
How can i turn a XPATH into a .ELEMENT?
I got my Object as XPATH but cant Access its Attributes because its XPATH and no direct ElementTree object
I got my Object as XPATH but cant Access its Attributes because its XPATH and no direct ElementTree object
- Fri May 13, 2016 10:14 pm
- Forum: Programming
- Topic: [Inkscape Extension] Import SVG / Edit XML-Tree
- Replies: 7
- Views: 3370
Re: [Inkscape Extension] Import SVG / Edit XML-Tree
Thanks i will take a look on that!
- Fri May 13, 2016 9:59 pm
- Forum: Programming
- Topic: [Inkscape Extension] Import SVG / Edit XML-Tree
- Replies: 7
- Views: 3370
[Inkscape Extension] Import SVG / Edit XML-Tree
Hello InkscapeForum i have question for a program i wrote in python. I want to Import a "template.svg" with different Groups (with ID) and need to Seperate them in my Program. 1. How do i load the "template.svg" into my program? 2. What are the tools to manipulate the XML-Tree wh...