Re: How to manipulate SVG DOM tree: locate items & insert nodes?

"krellksa100" <[email protected]>
Newsgroups gmane.text.xml.svg.devel
Message-ID <[email protected]>
Thanks for your reply, it seems to be what I am after.

What's the best way to create the MyG element and use it from the xml file? A code snippet would be useful as not familiar with this.

Also, how does one close the MyG (</g>) ?

And how would I create a path (line) within the g element? Sorry for all the questions :)

Thanks a lot.

--- In [email protected], "Francis Hemsher" <fhemsher@...> wrote:
>
> If you create an svg <g id="MyG" /> ...
> 
> To create the 'Z-order' in svg is to use MyG.appendChild(element) where you can control the stacking of elements. The last element is visually on top.
> You can also use the MyG.insertBefore(topElement,childTargetElement)to accomplish more sophisticated stacking.
> Hope this helps,
> Francis
>




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

-----
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:
    [email protected] 
    [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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.