Hello everyone,

I am still new to SVG, so this my seem like a basic question. I am 
trying to build a simple canvas for drawing lines and paths, but I 
would like to preload the canvas with some lines and paths initially. 
These will be loaded from database. Is it possible to use Javascript to 
add multiple svg elements at once? For example, if I had an SVG element 
like this:

<g id="canvas"></g>

Is there any way I could easily add SVG xml like 
<line..../><line.../><path..../>  to <g> onload, I guess something 
similar to innerHtml? Or do I have to add them one by one? I would 
really appreciate any help I can get. Thanks a million in advance!

Mohammad Inamullah





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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

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