One approach could be to use the XSLToJson package to convert whatever XML from Umbraco to Json, using an alternative template, which you can then reference in your javascript. Then you can pass the desired parameters and handle them in your XSLT file and make sure that json data is returned.
Ajax with XSLT
Hi, I'm new to umbraco, I'm using version 4 of umbraco and want to know how to use Ajax with XSLT asynchronously. A greeting and thank you very much!
Hi Umbracocool
One approach could be to use the XSLToJson package to convert whatever XML from Umbraco to Json, using an alternative template, which you can then reference in your javascript. Then you can pass the desired parameters and handle them in your XSLT file and make sure that json data is returned.
Hope this helps.
/Jan
is working on a reply...