[flexcoders] Re: e4x with XMLListCollections?

2006-10-05 Thread Bela Hajzer
--- In flexcoders@yahoogroups.com, "Derrick Grigg" <[EMAIL PROTECTED]> wrote:>> I ran into a similar problem when using xml data returned from a web > service. You need to either use the wildcard namespace or declare > and add one on to the result. I found it easier just to use the > wildcard.>

[flexcoders] Re: e4x with XMLListCollections?

2006-10-04 Thread Derrick Grigg
I ran into a similar problem when using xml data returned from a web service. You need to either use the wildcard namespace or declare and add one on to the result. I found it easier just to use the wildcard. myCollection.*::source.*::trainingEvent.*::trainingEventInstance.*:: (@keyID == instan

[flexcoders] Re: e4x with XMLListCollections?

2006-10-04 Thread tddclare
Thanks for the reply. I'm wondering why I can't? According to the docs, "myCollection.source" gived an XMLList, and the XMLList docs say that "This class (along with the XML, Namespace, and QName classes) implements powerful XML-handling standards defined in ECMAScript for XML (E4X) specification

[flexcoders] Re: e4x with XMLListCollections?

2006-10-03 Thread Prakaz
I'm not sure if you will be able to directly access the trainingEvent title using the return statement you have given below.   Looking at the structure of the XML, it seems inevitable that you'll have to iterate through each and every node to search for the KeyID you are looking for and when you