OK, I tried the following code and it's not working: var xml:XML = new XML(inputXML.text); var ns:Namespace = xml.namespace(); var filterdXML:XMLList = new XMLList(xml..ns::folder.(id == 13)); outputXML.text = filterdXML.toXMLString();
But, if I add a prefix to the namespace declared in the XML, it all works. xmlns:com="http://www.directTestmarketing.com/ws/schemas/communicationHi\ erarchyService"> ( added the :com). I'm still not considering my situation fixed, though. I'd like to be able to get at the default namespace. Thanks, Todd --- In flexcoders@yahoogroups.com, "fourctv" <[EMAIL PROTECTED]> wrote: > > try this: > > var xml:XML = new XML(inputXML.text); // get the xml > var ns:Namespace = xml.namespace(); // extract the default namespace > trace('folder13:',xml..ns::folder.(id ==13)); // use it in the E4X expression > > hth > julio >