Sells, Fred schrieb:
Diez wrote:
Why don't you create KID-template like this:

<div py:strip="True">${root}</div>

and in the controller say

@expose("thexmltemplate")
def ...
   return dict(root=myElementTreeRoot)

sounds good.  Does that "py:strip" remove the <div> and anything outside it.  
I'll be doing a flex style ajax call and it wants just the xml data tree.

http://www.kid-templating.org/language.html#stripping-tags-py-strip

The time it took to ask the question would have answered it by just trying...

Diez

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to