would help if I answer the question:
childnode.parent().@group
*______________________________________
**Plastic Martians Ltd.*
email: m...@plasticmartians.co.uk
web:www.plasticmartians.co.uk
mobile: 07763 986 485
phone: 01434 382 973
On 05/05/2011 16:42, Matt Folkard wrote:
parent() should do it, as in:
childnode.parent()
Cheers
matt
*______________________________________
**Plastic Martians Ltd.*
email: m...@plasticmartians.co.uk
web:www.plasticmartians.co.uk
mobile: 07763 986 485
phone: 01434 382 973
On 05/05/2011 16:32, Mendelsohn, Michael wrote:
Hi list...
I'm trying to find some xml's parent attribute.
I have<pet name="Sugar"/> and I want to find "B".
var pets:XML =<pets group="A">
<pet name="Rover"/>
<pet name="Buffy"/>
</pets>
<pets group="B">
<pet name="Spot"/>
<pet name="Sugar"/>
</pets>;
I can't seem to find it. Anyone know how?
Thanks,
- Michael M.
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders