Re: [flexcoders] How use hasOwnProperty() in combination with namespace

2007-11-29 Thread Tom Chiverton
On Wednesday 28 Nov 2007, hannes.stockner wrote: But now I want check with the hasOwnProperty() method whether my xml has a specific property. You don't do it that way - you write an E4X (or whatever it is) expression for the node, and check that exists: [EMAIL PROTECTED]'type'] (for xml

[flexcoders] How use hasOwnProperty() in combination with namespace

2007-11-28 Thread hannes.stockner
Hello This is my xml: foo xmlns=http://www.test.com/; atest/a c btest2/b /c /foo I created a namespace object: var ns : Namespace = xml.namespace(); To trace out the content from a I used for example: trace(xml.ns::a); This works fine. But now I want check with the hasOwnProperty() method