I do not fully understand XML, I've tried reading articles- and I get HOW xml is tree-structured, useful for databases, etc and what not. I don't get what to do with it though.. can someone please offer some insight, in example form, of how it would be implemented and how it would be used?
I believe I'm just missing the connection here, thanks in advance.
I use it to retrieve data from my server via http requests (ajax).
I found it much easier to do that than to try to custom parse a text file generated by php.
I also know that at least one multiplayer game lets squads have custom textures and info in-game using XML as the delivery vehicle for that information.
One thing I recently learned about using http requests is that by default Firefox will not allow synchronous http requests.
Being brand new at it myself, I thought I needed synchronous requests because I needed to wait for a successful response from the server before I could populate my js variables with the data, but found that it did not work in Firefox unless I had the Firebug plug-in installed, then for some reason synchronous requests did work.
I did however change my method of populating my js variables and only use asynchronous http requests, and using small animated gifs for blinking lights that start blinking when a request has been made, and stop blinking when the response has been received and handled, made it a little nicer for the user.