Hi Andreas,
You don't neet to install sarissa to don't need sarissa to do cross-browser xml parsing. The qx.lang.XmlEmu package already emulates the XMLSerializer and DOMParser objects from Firefox in the Internet Explorer.
Best Fabian
-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Im Auftrag von Andreas Junghans
Gesendet: Donnerstag, 14. September 2006 21:50
An: qooxdoo Development
Betreff: Re: [qooxdoo-devel] XML DOM
Hi Jhonny,
Am 14.09.2006 um 20:54 schrieb Jhonny Everson:
> I'm trying to connect qooxdoo with php ( not PHP QxBuilder). I'm
> using qx.io.remote.RemoteRequest and generating a XML response. I
> got it, but how can i parse the XML in qooxdoo? I found no examples
> or help about this. please help me. Or someone have a better a idea
> on communicating to php?
First, you could create the remote request object with a third
parameter of qx.constant.Mime.XML. This will give you an XML DOM as a
response instead of a string.
Second, you could use Internet Explorer's or Firefox's built-in XML
parsing capabilities. There are cross-platform libraries (e.g. http://
sourceforge.net/projects/sarissa) that can convert a string to an XML
DOM, hiding the browser-specific stuff behind a generic interface.
And of course, as Derrell suggested, you can also use JSON and/or
qooxdoo RPC calls.
Regards,
Andreas
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
