[flexcoders] Re: Addressing buried children in XML with default namespace- an easier way?

2006-07-14 Thread ben.clinkinbeard
Not sure what I was doing wrong here but I've got this worked out and documented here: http://www.returnundefined.com/dealing-with-default-namespaces-in-flex-2as3 Hopefully someone will find it useful. Ben --- In flexcoders@yahoogroups.com, "ben.clinkinbeard" <[EMAIL PROTECTED]> wrote: > > That

[flexcoders] Re: Addressing buried children in XML with default namespace- an easier way?

2006-07-12 Thread ben.clinkinbeard
> [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard > > Sent: Wednesday, July 12, 2006 9:47 AM > > To: flexcoders@yahoogroups.com > > Subject: [flexcoders] Re: Addressing buried children in XML > > with default namespace- an easier way? > > > > Bumping this u

[flexcoders] Re: Addressing buried children in XML with default namespace- an easier way?

2006-07-12 Thread ben.clinkinbeard
That doesn't seem to work for me. I have this file: package com.fmr.tests.PSA_Cairngorm.model { public namespace CLIENT_SEARCH_NAMESPACE = "http://site.com/BackOffice/DoSearch";; } and then in my command class, along with all my other import statements I have: import com.fmr.tests.PSA_Cai

RE: [flexcoders] Re: Addressing buried children in XML with default namespace- an easier way?

2006-07-12 Thread Brian Deitte
uot;. -Brian > -Original Message- > From: flexcoders@yahoogroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard > Sent: Wednesday, July 12, 2006 9:47 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: Addressing buried children in XML > with def

[flexcoders] Re: Addressing buried children in XML with default namespace- an easier way?

2006-07-12 Thread ben.clinkinbeard
Bumping this up in the hopes that someone (possibly from Adobe?) can offer an alternative, or at least an explanation of why this is the case. As it stands now, I will have to have these lines: namespace foo = "http://site.com/BackOffice/DoSearch";; use namespace foo; sprinkled throughout my app,

[flexcoders] Re: Addressing buried children in XML with default namespace- an easier way?

2006-07-11 Thread ben.clinkinbeard
It seems that the only way to use the full functionality of E4X with namespaced XML is by using this method: namespace foo = "http://site.com/BackOffice/DoSearch";; use namespace foo; Unfortunately, that method must be constructed exactly like that- with a static string. You cannot even point it

[flexcoders] Re: Addressing buried children in XML with default namespace- an easier way?

2006-07-10 Thread ben.clinkinbeard
Sorry, I guess I wasn't clear in what I was looking for- I am trying to figure out how to address deeply buried nodes without having to go one level at a time. Something like the .. operator, but that is compatible with namespaced XML (.. doesn't seem to be). The Web Services I am calling return da

[flexcoders] Re: Addressing buried children in XML with default namespace- an easier way?

2006-07-10 Thread Geoffrey Williams
Here's a couple: // namespace constant public namespace default_ns = "http://fmr.com/BackOffice/PseSearch";; // init test public function init () : void { var xml : XML = http://fmr.com/BackOffice/PseSearch";> fa