Re: [svg-developers] tree and svg

2005-06-02 Thread Jérôme Tricand de la Goutte
> Sent: Thursday, June 02, 2005 1:52 PM > Subject: Re: [svg-developers] tree and svg > > > > what about > function findAllChild() > { > getChild(document.getElementById('mySVG'); > getChild(document.getElementById('myClonedSVG'); >

Re: [svg-developers] tree and svg

2005-06-02 Thread Erwan TROEL
ok but when u don't know the ids how do u do - Original Message - From: Jérôme Tricand de la Goutte To: svg-developers@yahoogroups.com Sent: Thursday, June 02, 2005 1:52 PM Subject: Re: [svg-developers] tree and svg what about function findAll

Re: [svg-developers] tree and svg

2005-06-02 Thread Jérôme Tricand de la Goutte
hen there are many parents > - Original Message - > From: Jérôme Tricand de la Goutte > To: svg-developers@yahoogroups.com > Sent: Thursday, June 02, 2005 11:43 AM > Subject: Re: [svg-developers] tree and svg > > > Hi Erwan, > > What kind of information do you

Re: [svg-developers] tree and svg

2005-06-02 Thread Erwan TROEL
this code traverse only a parent to his children but how to when there are many parents - Original Message - From: Jérôme Tricand de la Goutte To: svg-developers@yahoogroups.com Sent: Thursday, June 02, 2005 11:43 AM Subject: Re: [svg-developers] tree and svg Hi Erwan

Re: [svg-developers] tree and svg

2005-06-02 Thread Jérôme Tricand de la Goutte
Hi Erwan, What kind of information do you plan to get with your functions? but if you want a recursive function, try this function getChild(obj) { $tab=obj.childNodes; if($tab.length!=0) for $i=0; $i<$tab.length; $i++) getChild($tab.item($i)); else alert('No C

[svg-developers] tree and svg

2005-06-02 Thread Erwan TROEL
i' m looking for a code which read a svg children by children with recursivity [Non-text portions of this message have been removed] - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" Yahoo! G