flow.js: var elem = "<test>"; cocoon.sendPage( "view.vm", { elem: elem } );
view.vm: <root>$elem</root>
this unfortunatelly produces: <root><elem></root> which is an invalid xml
Has anyone overcome this problem? I could write simple string encoder but it surely wouldn't handle entities nicely and wouldn't be as performant as some tested OS solution.
-- Leszek Gawron [EMAIL PROTECTED]