RESTful Communications – Formatting the Client-Server Request String [XML]
An image of the JavaScript Function that formats the XML document request string to be used in an XMLHttpRequest-based interaction between a JavaScript client and a PHP RESTful Web Service.
Click image to enlarge.