jQuery doesn't include XML serialisation in it's core. A quick search of the plugins repository came up with two projects that might help (there may be more):
RPC http://plugins.jquery.com/project/rpc The is rpc(remote procedure call) client implementation based on JQuery. It creates an rpc object and adds ability to call them. It supports both xml and json rpc... XML http://plugins.jquery.com/project/xml Methods to generate XML/HTML tags programmatically. By default, they output XHTML compliant tags. Karl Rudd On Mon, Mar 9, 2009 at 1:18 PM, riteshn <rite...@gmail.com> wrote: > > Hi > > So my first time using jQuery. > > http://paste.pocoo.org/show/107037/ > > I have a simple django based xml-rpc server which works perfect when I > test it with my python based XML-rpc client. > > I am always getting error when sending data using jQuery. > > When I set processData: true - the server is getting value as: > > var1=val1&var2=val2 > > as a  consequence of which my dispatcher in the server side fails with > XML parsing error. > > If I set processData: false, then POST content is just ''. > > Looks like jquery is not serializing the data to XML. I did lot of > Googling (maybe I didnt do enough) and nowhere I found a similar > error. Though it threw up: http://drupalbin.com/1173 which is doing > the serializing by itself. I am doubtful if this is required. > > Thoughts? >