• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Data Source for AJAX

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What are some of the commonly used libraries to generate the XML for the data source of your AJAX scripts?
 
Author
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
On the server side for more complicated larger pieces of XML I use JAXB, and JAXP. For quick and dirty, generate the string using string buffers, and parse the buffers using XTOM. Overall though I like JAXB because I can define an XML schema and have it generate the code stubs.

On the client side it is a bit more complicated. For parsing I use the browser's internal XML processor. For generating I dynamically iterate a JavaScript object and generate the XML from it.
[ February 21, 2006: Message edited by: Christian Gross ]
reply
    Bookmark Topic Watch Topic
  • New Topic