[swfmill] Wrapping of SVG elements
Gerrit Karius
g99k at hotmail.com
Wed Jul 26 04:16:26 EDT 2006
Hi, I've solved the issues with the "simple-svg.xslt" stylesheet. Group
definitions are now flat and have no wrapper. I'll continue and remove the
wrapping of use elements.
Daniel, can you maybe give me some clues about the stylesheet's template
structure:
1. What are these templates for: "svg:g[@regard-pivot]" and "svg:flowRoot"?
The "svg:g[@regard-pivot]" defines 2 transforms, a normal one and one that
works with "@inkscape:px" and "@inkscape:py". Can I just add them up to
avoid the wrapping? Any testcases or Inkscape files available?
2. What are "svg" and "inner-svg" modes for? If it's just to do the general
stuff in "svg" and type-specific in "svg-inner", then I'll maybe merge the
two and introduce named templates for the general stuff. Since I have to
move the export and class definitions out of "svg", there's not much left in
it.
Some general testfiles would behelpful. Otherwise, someone else will have to
do the testing. :-)
How should I post the changed stylesheet? Just mail it to the list? (it's
400+ lines...)
Cheers,
Gerrit
More information about the swfmill
mailing list