<br><div class="gmail_quote">I am trying to use an ErlTL template to generate Xml strings. <br><br>My template is a follows.<br><br><%! This template prints a sample XML %><br><%? {Title} = Data %><br>
<test_xml><br><% XML_Elem %><br></test_xml><br><br><br>I render this template using the following command<br><br>erltl:compile("<a href="http://xml.et" target="_blank">xml.et</a>"). <br>xml:render({<<"Test">>}). <br>

<br>which returns<br>[<<"\n<test_xml>\n">>,<<"Test">>,<<"\n</test_xml>\n">>]<br><br>How do I use this to generate the xml string "<test_xml>Test</text_xml>". I dont really care about the white space. It can remain in the final xml string.<br>

<br>I would really appreciate help with this.<br><br>Thanks<br><font color="#888888"><br>Salonee<br>
</font></div><br>