ajax and xml
Posted: Sat Jun 17, 2006 4:45 pm
i have to make a small photo gallery thing for work. i was curious to know if many ajax webapps actual return XML? i says this because right now with my development version i just return:
then i use a javascript .split('||') to get an array of the info
in theory i know i should do this:
Code: Select all
24||imageurl||johndoe||a description of the imagein theory i know i should do this:
Code: Select all
<image>
<id>id</id>
<src>http://...</src>
<user>johndoe</user>
<description>a description of the image</desctiption>
</image>