Or am I making a conceptual error here? Perhaps I should be using runTemplate to get the XML fragments and only use renderTemplate at the very top level?
This would keep the input as structured nodes and convert to bytestrings only at the last step. Kevin --- On Thu, 6/17/10, Kevin Jardine <[email protected]> wrote: > From: Kevin Jardine <[email protected]> > Subject: renderTemplate with XML fragments in Heist > To: [email protected] > Date: Thursday, June 17, 2010, 3:38 PM > If I call > > renderTemplate (bindStrings dict emptyTemplateState) > templateName > > this works fine if the dict values are all unstructured > data. > > However, if they are XML structures, the resulting HTML is > escaped, presumably because bindStrings inserts them as Text > nodes. > > What function instead of bindStrings do I call to insert > XML fragments? > > Kevin > > > > _______________________________________________ Snap mailing list [email protected] http://mailman-mail5.webfaction.com/listinfo/snap
