[EMAIL PROTECTED] writes: > ${XML(foo())} works. I'd like to add 'XML(..)' to string returned by foo() > so that I don't need to invoke XML() in Kid all the time. > > When I tried that Kid just interpreted 'XML( ..)' as part of the string and > didn't invoke the XML function. > > Any ideas on that?
Use ElementTree on your data to do what you want. You can't mix things like you're doing. I suggest using cElementTree since it is faster. -- Jorge Godoy <[EMAIL PROTECTED]> ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ kid-template-discuss mailing list kid-template-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kid-template-discuss