MenTaLguY wrote:
Starting today, I'll be working on a new Inkscape::AST module, which will eventually replace the current SPRepr subsystem.
The goal is to reduce the complexity of the XML code, while allowing for e.g. CSS and SVG path data to be manipulated in the same tree, in broken-down form (rather than as monolithic strings).
libxml will still be used for parsing XML data, and hopefully we will be able to start using libcroco for CSS data as well.
The new XML editor will also use the AST code, and it in turn will serve as a basis for the Layers dialog UI.
Questions are welcome.
-mental
Yaay. I think this might actually be something I have been needing!
I know that W3 DOM is overkill, and too messy for our purposes, but please keep in mind the ability to access this tree via a DOM -model-.
I was looking over what I have been contributing recently, and it occurred to me that I have made absolutely no progress toward the one feature I actually need --- SVG XPath accessibility and scripting via ECMAscript. When I can finally do this:
svg.scene.forest.tree[x].branch[y].bird.color=blue;
...and the rendering shows this, then I will be happy!
For my day job, drawings and schematics that can be animated and manipulated at runtime programatically are the goal I seek. Since I am not a professional artist, having the program merely be a drawing tool holds no attraction for me.
Bob