Francis Hemsher schrieb:

> "Joseph" wrote:
> I think, XSLT will have some limitation
> > when it comes to optimization of the whole SVG file which made me
> > think about Java too. Do you think I would be a good idea to use Java
> > with XSLT to do the job I am aiming at? If not, what alternatives do
> > you think are appropriate?
>
> Joseph,
> The following suggestion will give you great happiness...
>
> Dump XSLT, use Java(ECMA)Script and its elegant linkages to the DOM.
> You can quickly structure your objects and methods, sometimes a bit
> clunky, but you will speedily move to your goals. Sure, after you have
> created your architecture, go to JAVA/C++/C# or whatever, to solidify
> your objects.
>
> Good Luck, and God Bless,
> Francis

Hi Joseph,
from my experience, XSLT is suited very well for certain parts of the 
optimization process(style attribute->presentation attribute,  cleaning 
foreign namespaces ...)
for things like changing path data, you might think about using 
Java/Batik, since there is already a nice dom implementation. for other 
things, i found string manipulation
the best thing. so i think you should go for a mix of different small 
modules, that can be combined. the problem with javascript, is that 
there is no SVG implementation which
lets you easily save the changed dom(because of security issues). so i 
guess your proposal to use java in combination with xslt is the best 
choise for the project.
java also gives you cross platform support. as an alternative you might 
use libsvg in a c or c++ programm. also there are a lot of perl modules 
you could use, so perl could also be an option.
cheers
Holger



-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to