> childnode.parent().@group

Thanks, Matt.  Well, I'm getting stuck on finding the correct node then.

How do I find the node in the xml, given the node I have?

var myPet:XML = <pet name="Sugar"/>

I get errors with a statements like these:
pets..(pet.toXMLString() == myPet.toXMLString());
pets..(* == myPet);

Once I have that, then I can do the parent() method call.

>> var pets:XML =<pets group="A">
>>      <pet name="Rover"/>
>>      <pet name="Buffy"/>
>> </pets>
>> <pets group="B">
>>      <pet name="Spot"/>
>>      <pet name="Sugar"/>
>> </pets>;

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to