Re: [flexcoders] e4x adding attributes across members.

2006-06-23 Thread Tom Chiverton
On Friday 23 June 2006 03:49, coder_flex wrote: inputXML.book.(addToTotal( totalClass, Number(@price)*Number(@quantity))); trace(totalClass.totalAmt); Eww. Take a look at the 'for each' example in the docs :-) -- Tom Chiverton This email

RE: [flexcoders] e4x adding attributes across members.

2006-06-23 Thread Matt Horn
Here's a basic example using for each: ?xml version=1.0? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script![CDATA[ private var myXML:XML = order item id='1' quantity='2'