On Fri, Sep 3, 2010 at 5:39 PM, Edward K. Ream <[email protected]> wrote: > > > On Aug 31, 4:50 pm, Terry Brown <[email protected]> wrote: >> Just pushed rev 2 to >> >> https://code.launchpad.net/~leo-editor-team/+junk/inkcall > > I've just begun to study the code in detail. My first impression is > "wow", this is very cool. For example, template.svg looks like a lot > of work.
To answer several of my own questions, the overall situation is clear: svg images are xml files. Thus template.svg, as "complex" as it looks, is just one or more pictures, with supporting info. Depending on your point of view, Terry's scripts manipulate either the xml or the pictures they represent. The big advantage that lxml claims over ElementTree is that lxml supports xpath queries of the xml. That is, using lxml it is possible to isolate sub-parts of the svg images. So xpath is a nice tool to have. Otoh, can it really be all that hard to parse xml into whatever parts one wants? And why does lxml need python-specific DLL's? Edward P.S. The Inkscape man page describes the command-line args: http://inkscape.modevia.com/inkscape-man.html I've copied the description of the relevant args to my study outline. EKR -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
