[Twisted-web] xslt nevow and escaped xml
sa at c-area.ch
Fri Mar 25 12:46:19 MST 2005
On 03/25/05 20:09, ErikSwan wrote:
> Hi all,
> We are using XSLT with twisted/nevow and want to pass xml through
> fillslots or stan generated API without getting escaped.
> Any suggestions or pointers to how to do?
I've had the same problem within a sequence-mapping renderer.
Attached is an example of the workaround I used. Maybe it gives you some
ideas for possible solutions.
The trick is to use:
A cooler solution would be if one could set a flag on slots telling
nevow how they should be rendered.
<nevow:slot name="myslot" escape="false" />
But for this to work you'ld have to hack nevow itself.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1537 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-web/attachments/20050325/1ce5c5c8/html.py
More information about the Twisted-web