0 Replies Latest reply on Aug 21, 2007 4:16 PM by brado77

    Dealing with E4X XML Namespace Prefixes

    brado77 Level 1
      I have a Flex app invoking HTTPService requests and receiving back E4X XML data. Many of the XML elements in the data returned are prefixed by XML namespace prefixes. Two questions:

      1) Is there an easy way to have these namespaces removed or ignored when working with the document?

      2) Is there an easy way to work with these namespaces? After searching the web and experimentation, I found myself having to use the Namespace object, which, without getting too far into it, really complicated code abstraction and reuse, as I found various generic layers of my client having to have carnal knowledge of the specific namespaces in the returned XML. For those out there using XML within the client and across the wire, how are you dealing with namespaces?

      Thanks,

      Brad