More precision : in fact, I have to send back to the server in XML the
content of a form.
For simple value, it is simple : one name in the form could be one
parameter with 'name' as a key.
It become more difficult for multiple values like several book in a
basket for example.
I could add several books with keys like 'book1', 'book2', ...
What kind of mecanism would you advice me to use ?
I'm seeking for a mecanism that could work on any possible cases.
Including not only multiple simple object but also multiple complex
object like several Addresses.
Any idea ?
Thanks.
--- Begin Message ---
Hi,
How should I send XML over HTTP to my server from lzx ?
Should I build XML text and add it like : LzParam.addValue("xml",
theXmlText, false) ?
In that case is there a size limit of such a parameter (even like here
if it is not in the URI) ?
The next question is how to build efficiently XML text in Javascript ?
Is something like that would be fine ?
var theXmlText ="<TAG1>" + some var + "</TAG1>";
or is there some magic js library around or other better ways of doing it ?
Thanks !
--- End Message ---