On Thu, 2005-09-22 at 17:16 -0700, Bryce Harrington wrote:
However, I'm not really even sure how you'd handle folding these bits of non-SVG text in. I'm sure Inkscape would just choke on it. But I remember long ago we had a similar issue with SVG comments, and got that sorted out. What would need to be done to make Inkscape accept non-SVG templating syntax?
Well, if you're going to deviate from SVG, we may as well make the additional wrapper bits XML. Otherwise we've basically got to throw out our current document model.
Honestly, though, I think the thing to do would be to carry the templating information out-of-band (maybe in <defs>), making references to the appropriate SVG nodes via XPath rather than containing them directly. That would also be more flexible for templating.
Heck, maybe even use XSLT.
-mental