Hi Diego,

you should declare the namespaces:

var SOAP_NS:Namespace = new Namespace ("http://schemas.xmlsoap.org
/soap/envelope/");

var XSD_NS:Namespace = new Namespace ("http://www.w3.org/2001/XMLSche
ma
");

etc.

Then you could access the nodes using e4x this way: yourXml.SOAP::channel (if channel is on the SOAP namespace).

You could also declare a default namespace using:
default xml namespace = SOAP_NS;
 
HTH
X.

On 10/12/06, Diego Guebel <[EMAIL PROTECTED]> wrote:
Hi all,
I'm trying to read some nodes with e4x and was dealing with the syntax for
the namespaces for a while without luck. I could read the node when it has
only one namespace, but dont know how is the syntax when I have more....

I have an xml like this:

<MyXMLResponse
        xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/ "
        xmlns="http://www.mydomain.com/myown/"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema "
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

        <channel>
                <title>iTunes 10 New Releases</title>
                <link>http://phobos.apple.com/WebObjects/MZStore.woa/wa/                viewNewReleases?pageType=newReleases&amp;id=1</link>
                <description>iTunes Store: Today's 10 Newest Releases</description>
                <language>en</language>
                <copyright>Copyright 2006 Apple Computer, Inc.</copyright>
</MyXMLResponse>

Any clue?
Thanks, Diego.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto: [EMAIL PROTECTED]
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/



__._,_.___

--
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
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to