--- In svg-developers@yahoogroups.com, Jeroen Vanattenhoven
<[EMAIL PROTECTED]> wrote:

> var group = svgdoc.createElementNS(null, "g");

> Well, at this moment, it does not exist yet in the DOM. You first have 
> to append it to an element in the document:
> 
> svgdoc.getElementById("groupParent").appendChild(group);
> 
> You always use appendChild for this. 

The DOM offers other methods to insert nodes as children of other
nodes, there is the insertBefore method, there is the replaceChild
method. Thus appendChild is not necessarily used, other ways exist. 





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