|
At the risk of seeming dense: how would I
fix my second example? I’ve been through the help docs and Ben’s
examples, but I’m just not getting it. From: More explanation... Tom, the behavior you saw was correct. In your first case, defining the soap
namespace prefix on <a> doesn't affect <b>, because <b> has
no namespace prefix and is therefore in the undefined default namespace, not in
the soap namespace. In your second case, you are defining a
default namespace on <a>, which affects the child tag <b>. So
descendants("b") doesn't find <b>. I didn't look at Ben's links, but they
presumably explain how to programmatically access tags and attributes when you
define a default namespace. - Gordon From: http://www.returnundefined.com/2006/07/dealing-with-default-namespaces-in-flex-2as3/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
__,_._,___ |
- RE: [flexcoders] Re: XML parser chokes on un-typed xmlns Gordon Smith
- RE: [flexcoders] Re: XML parser chokes on un-typed x... Tom Lee
- [flexcoders] Re: XML parser chokes on un-typed xmlns ben.clinkinbeard
- RE: [flexcoders] Re: XML parser chokes on un-typ... Tom Lee
- [flexcoders] Re: XML parser chokes on un-typ... ben.clinkinbeard
- RE: [flexcoders] Re: XML parser chokes o... Tom Lee
- Re: [flexcoders] Re: XML parser cho... Claus Wahlers
- [flexcoders] Re: XML parser chokes ... ben.clinkinbeard

