Only if you're sure that there will be a namespace defined, if not 
myXML.namespace() will return null (and probably throw an error).
Might not be a big deal in this case, but just mentioning it for archive 
purposes :)

regards,
Muzak

----- Original Message ----- From: "Kenneth Kawamoto" <[email protected]>
To: "Flash Coders List" <[email protected]>
Sent: Saturday, February 14, 2009 12:53 AM
Subject: Re: [Flashcoders] Strange XML parsing thing


You can reduce one more line :)

default xml namespace = myXML.namespace();

Kenneth Kawamoto
http://www.materiaprima.co.uk/


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to