Either just use js string functions to do some manual parsing, or search Google for javascript XML parsers.Here is one http://xmljs.sourceforge.net/ or have the action page return a wddx packet and use wddx.js to parse it.
 
IE5+ and Mozilla come with DOM XML parsers, if you don't have to worry about NS4.
 
jon
----- Original Message -----
Sent: Thursday, May 16, 2002 11:02 AM
Subject: [cf-xml] returning xml to javascript

I have a situation where I call an action page that produces an XML document.  The action page is called through an IFRAME and it returns the xml packet to a JavaScript function on the parent.  I want to be able to loop through the XML document and populate a drop down box without reloading the page.  I�m successful getting the action page to return the xml packet to the parent�s JavaScript function, but I can not get JavaScript to work with the xml data.  I�ve tried the various methods available to the xml document but nothing works.  Any help would be appreciated.

 

 

Thanks -

 

Tom Schreck

817-252-4900

[EMAIL PROTECTED]

 

I have not failed.  I've found 10,000 ways that won't work.

 

- Thomas Edison

 

Reply via email to