Please enable JavaScript to view this site.

ESL Documentation

Navigation: » No topics above this level «

Q10. Can ESL build an XML data string to Post to a WEB Server?

Scroll Prev Top Next More

Whilst ESL has no specific support for building XML strings, the standard string concatenation, together with the data coercion and freeform coding style, allows complex XML strings to be built with a single ESL statement. To provide a simple illustration, the XML string parse as an example in the previous question can be created as follows:

FAQs_WebAccess_Q10

The leading blanks in the above example are only for presentation and will not form part of the XML string. When creating the string, remember that an individual literal cannot be more than 256 characters long, but you can always concatenate multiple literals. Also you will find that the XML string will include quoted strings which will need to use the escape sequence \”.