playing with xml as the container for data-transfer between client and server (within an application)
options to communicate the (xml formatted) data from server to client (assuming IIS/asp/microsoft.xml parser at server, and dhtml/jscript/ie5+ at client)
server to client
- server to insert the xml (via xslt or script) as html - works for all clients
- provide the xml data via an asp page - the client (ie5+) can then via script, retrieve the generated xml data from the asp page dynamically, and do whatever with it.
- embed xml data-islands in the server (asp) generated html page
client to server ( a far more interesting question )
- post information from a form (not useful - means we move to another page)
- post information from a form in a hidden frame ( great party trick..... )
- use microsoft xmlhttp control to send entire xml dom to server
1 Created xmldoc object
2 Loading xml document succeeded
3 parsing xml doc... succeeded
2 Loading xml document succeeded
3 parsing xml doc... succeeded