Diez wrote:
sounds good. Does that "py:strip" remove the <divand anything outside it. I'll be doing a flex style ajax call and it wants just the xml data tree.
Why don't you create KID-template like this:
<div py:strip="True" >${root}</div>
and in the controller say
@expose("thexml template")
def ...
return dict(root=myEle mentTreeRoot)
<div py:strip="True" >${root}</div>
and in the controller say
@expose("thexml template")
def ...
return dict(root=myEle mentTreeRoot)
Comment