Just trying out this method. the first 2 if tests are failing (not 
getting traces). is that correct?

var xml1:XML =  <Root>                                          
                 <Report />                                     
                 <Detail />
                </Root>;
                        
if(xml1.contains(<Report />))
{
 trace("report found");
}
if(xml1.contains(<Detail />))
{
 trace("detail found");
}
if(!xml1.contains(<Me />))
{
 trace("Me not found)";
}





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to