I have this XML file:
var k= <texta xmlns="http://www.ert.com" xmlns:ns="http://asd/asi/" xmlns:xsd="http://dgewdged" xmlns:SOAP-ENV="http://sasdfasdf" xmlns:xsi="http://asdfasdgsde">
<textb>
<textc>Test</textc>
</textb>
</texta>
how can i get with E4X only the text "Test"?
var text=k.textb;
Alert(text);
I tried it on this way...but i get:
<textb xmlns="http://www.ert.com" xmlns:ns="http://asd/asi/" xmlns:xsd="http://dgewdged" xmlns:SOAP-ENV="http://sasdfasdf" xmlns:xsi="http://asdfasdgsde">
<textc>Test</textc>
</textb>
How can i remove the whole Namespaces ?
thank you for your help.