You don't appear to have any nodes with cue value > 20..?

-Scott

On 2/14/07, Firdosh Tangri <[EMAIL PROTECTED]> wrote:

  Thanks Alex I started getting

<cue value="20"/>

traced out but when I tried out

trace(_slides[0].cue.(@value > 20).toXMLString()); is gives the same thing
just prints an empty space.
Shouldnt it return an XMLList with all nodes where value is greater than
20 ??

cheers
firdosh


On 2/14/07, Alex Harui < [EMAIL PROTECTED]> wrote:
>
>    Do not trust trace or toString() with XML.  By default it tries to
> dump the text content of a XML or XMLList.  Always debug by printing out the
> toXMLString().
>
>
>
> HTH,
>
> -Alex
>
>
>  ------------------------------
>
> *From:* [email protected] [mailto:[EMAIL PROTECTED]
> *On Behalf Of *Firdosh Tangri
> *Sent:* Wednesday, February 14, 2007 10:41 AM
> *To:* [email protected]
> *Subject:* [flexcomponents] XML query question
>
>
>
> I have a simple xml
>
> <slide id="366" frameRate="30" totalFrames="150" advance="auto"
> type="normal">
>                  <cue value="20"/>
>                  <content url=" Slide1.swf"/>
>                 <slideTitle>1.Adobe Connect Solutions</slideTitle>
>
>                 <slideBackground index="1" frameToPlay="3"
> duration="00:10" showAfterFrame="0"/>
>                 <notes isHTML="true">
>                      Few organizations are untouched by today's
> imperative to do business across geographies.
>                  </notes>
> </slide>
>
> I load it into an XMLList Object _slides
>
> when I do a
> trace([EMAIL PROTECTED]);   // traces out 20 fine
>
> when I try
> trace(_slides[0].cue.(@value=='20'));
> or
> trace(_slides[0].cue.(@value=='"20"));
> or
> trace(_slides[0].cue.(@value=='20));
>
> I get nothing ??
>
> thanks
> cheers :)
> firdosh
>
>



--

: : ) Scott

Reply via email to