Posted: 8/26/2011
I am designing a online store and wish to use xml as a datasource to display product data. I understand comments regarding how serverside processing with asp/php or the like is the way to go, but I've also heard that several large corporate websites have recently gone client side and used javascript for parsing. The benefit to me with of this approach would be less server bottlenecks and a better user experience, but berfore I go crashing ahead I would like to have some views from anyone with experience in this area. All comments are welcome my xml product files are distributed throughout a number of docs but can be combined if requiredThanks
Hi,
I have a lot experience at this area, and can suggest you the following:
- I've use jquery XML to JSON Plugin, who is very simple to use and powerfull: http://plugins.jquery.com/project/xml2json
- Try to convert the xml to json, with jquery, and populate the form also with jquery.
- Some examples: http://www.fyneworks.com/jquery/xml-to-json/
Best Regards,
Gjorgji