Hi, You have to use this;
test.object['void'].(@property=='equation').string Peace, Mike On 1/30/07, lruinelli <[EMAIL PROTECTED]> wrote:
ciao! using the following XML <mx:XML id="test" > <java version="1.5.0_06" class="java.beans.XMLDecoder"> <object class="yy.xx.cc.cc.xx.IndicatorFunction"> <void property="equation"> <string>y=ax+b</string> </void> <void property="label_en"> <string>first indicator</string> </void> <void property="variable"> <void method="add"> <string>a</string> </void> <void method="add"> <string>b</string> </void> <void method="add"> <string>x</string> </void> </void> </object> </java> </mx:XML> the expression: test.object.void.(@property=='equation').string should has the following result: y=ax+b ....unfortunately "void", the name of the nodes, is a reserved Keyword in flex!!!! and the application is not compiled! how can I found a workaround without change the XML? thanks Lorenzo
-- Teoti Graphix http://www.teotigraphix.com Blog - Flex2Components http://www.flex2components.com You can find more by solving the problem then by 'asking the question'.