I'm going to try. Thanks a lot.

Thomas DeWeese <[EMAIL PROTECTED]> a écrit :Hi Julie,

jgfa92004 wrote:

> I use Batik to generate a svg document. But I also want to insert a 
> script section (to insert my own javascript functions) : how can I do 
> this ? 

   Instead of having the SVGGraphics2D stream the document, you can
call 'getRoot' to get the Root SVG element.  Append your script
element (using the W3C DOM 2 Core calls).  Then stream the resultant
document out using the svggen.XMLWriter.

   It's important to remember that calling getRoot 'clears' the
SVGGraphics2D so if you try and stream it you will get nothing
unless you have drawn new stuff since the last call to getRoot.


-----
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 


    Visit your group "svg-developers" on the web.
  
    To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
  
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


---------------------------------




                
---------------------------------
 Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
 Téléchargez le ici !  

[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/1U_rlB/TM
--------------------------------------------------------------------~-> 

-----
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