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:
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 \”.