Try something like:

x = xmldoc.childNodes.item(0).childNodes.item(0).firstChild.nodeValue;

-----Original Message-----
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of derguteonkeldod
Sent: Wednesday, May 04, 2005 12:59 PM
To: [email protected]
Subject: [svg-developers] Re: getURL() problem

Hello,

maybe I have a parsing error. I don't get any information out of the
'xmldoc'.

Here is my servlet XML:

out.println("<Data>");
out.print("<status>");
out.print("u");
out.print("</status>");
out.print("<deck>");
out.print("h");
out.print("</deck>");
out.println("</Data>");    

And that's the javascript ('urlRequestStatus.success' is true!):

xmldoc = parseXML(urlRequestStatus.content);              
x=xmldoc.childNodes.item(0).childNodes.item(1).getAttribute("status");
                       
alert(x);

The alert is empty! Does anyone know why?



-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

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

<*> 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/
 


Reply via email to