Pretty sure you have to use qname in [] lookups. The string is not parsed for namespaces
________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of fumeng5 Sent: Friday, November 09, 2007 8:00 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: accessing node via XML.child() quick update; the coordinatesStr line should be this: var coordinatesStr:String = gml.child("gml:coordinates")[0].toXMLString(); anyway, that's what is strange. i can see the gml XML object in the debugger and all of its nodes. i step into the coordinatesStr line using the debugger and all is fine and then i step again and that's when i get the term is undefined error. but it doesn't show what term. obviously, it's not 'gml' as that object exists, so it must the name of the node , "gml:coordinates"...i'm guessing. thanks. matt. --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , Tom Chiverton <[EMAIL PROTECTED]> wrote: > > On Friday 09 Nov 2007, Matthew Ganz wrote: > > i get the error message: 'a term is undefined and has no properties' > > Stop it in the debugger and find out which one. > > -- > Tom Chiverton > Helping to administratively seize high-yield features > on: http://thefalken.livejournal.com <http://thefalken.livejournal.com> > > **************************************************** > > This email is sent for and on behalf of Halliwells LLP. > > Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. > > CONFIDENTIALITY > > This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. > > For more information about Halliwells LLP visit www.halliwells.com. >