Hi Peter,

Can you tell me what I am doing wrong here?

var entries:XML =
<rootNode xmlns="http://site.com/Back/DocMetadata">
<Entry>
<CreateDate>5/5/2006 9:56:30 AM</CreateDate>
<DocumentType>RPR</DocumentType>
</Entry>
<Entry>
<CreateDate>5/3/2006 3:07:27 PM</CreateDate>
<DocumentType>RPR</DocumentType>
</Entry>
</rootNode>;

entries.namespaceDeclarations().toString();   // this returns nothing

Thanks,
Ben


On 6/9/06, Peter Farland < [EMAIL PROTECTED]> wrote:

XML namespaceDeclarations does return the default namespace for me, but perhaps you have to get this information from the root XML "node"?


From: [email protected] [mailto:[email protected]] On Behalf Of Ben Clinkinbeard
Sent: Wednesday, June 07, 2006 11:43 PM
To: [email protected]
Subject: Re: [flexcoders] Re: Namespace hell

Nope, because there is no way to even address the default namespace. Sorry, I thought I had mentioned that already but that was in a different thread. namespaceDeclarations() does not include default namespaces and namespaceDeclarations().length returns 0 when all you have is a default namespace. If you can manage to figure out a way to delete a default namespace I would be mighty grateful.

Thanks,
Ben


__._,_.___

--
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
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to