On Apr 15, 2008, at 6:29 AM, Alagu Madhu wrote:

<?xml version="1.0" encoding="utf-8" ?>
<customer id="customer">
${c.xml}
</customer>

Pylons 0.9.7 has HTML auto-escaping of variables. If you do not want a variable escaped, you can turn off the filter like so:
${c.xml | n}

Or, you can wrap your variable in a literal() object in the controller like so:

from webhelpers.html import literal

def xml(self):
    c.xml = literal(....)


Cheers,
Ben

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to