Good Afternoon (EST),

I wrote a code.py that creates an XML document in memory and I want to pass
it to my template for processing via XSLT (the XSLT file hasn't been started
yet).  The way I pass my XML is as follows:

======================================================================
code.py:

class index:
    def GET (self):
...
<snip>
...
        xmlstr = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
etree.tostring(runlist)
        print render.index(xmlstr)
======================================================================

======================================================================
index.xml:

$def with (xmlstr)
$xmlstr
======================================================================

The XML is being passed but it looks like raw text:

======================================================================
&lt;?xml version=&quot;1.0&quot;
encoding=&quot;UTF-8&quot;?&gt;&lt;runlist&gt;
<and so on...>
======================================================================

Can I assume I'm missing something easy or obvious?

 - Joe

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to