Forwarding this post as it was sent to the wrong mailing list...
> Subject: getXmlContent?
> From: "Michael Wilson" <[EMAIL PROTECTED]>
> Date: Mon, 31 Jul 2006 10:48:48 -0700
> To: <[EMAIL PROTECTED]>
>
>
> Did this get lost along the way? The selectNodes functionality that
> used this function was very handly and resulted in relatively compact
> code to map a set of results to a variable. I see that selectNodes is
> still available in QxXmlExtras but I can't get it to work. Does anyone
> have a simple example that will work in the latest non-namespace
> QooXdoo? Or do you have to write a loop to iterate over the ouput of a
> DOMParser?
>
> I'm trying this which worked previously:
> var xml = new DOMParser().parseFromString(e.getData().getContent(),
> "text/xml");
> //var xml = e.getData().getXmlContent();
>
> // extract xml data from response
> var pk_search = xml.selectNodes("//pk_search");
> this.debug(pk_search[0].text);
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel