ok well maybe i spoke too soon:
If you try it by
the following way, you'll surely get a compile error:
settings.settings_id = settingsBranch.firstChild..firstChild.nodeValue;
// nope, no error
settings.settings_id = settingsBranch.firstChild.firstChild.nodeValue;
On 11/16/06, Rich Rodecker <[EMAIL PROTECTED]> wrote:
Of course not, because you use the array syntax again (childNodes[0]
there you go! I was overlooking the array syntax in the assignment.
Thanks!
On 11/16/06, Rákos Attila <[EMAIL PROTECTED]> wrote:
>
>
> When saying the compiler has no type information I mean that it
> doesn't know, that the members of the childNodes array are XMLNode
> objects (because the lack of typed arrays), so it doesn't know
> anything about the type of the array members' properties, too.
>
> Attila
>
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com