You can use the special XML() function (it should already be in your
template namespace) to take an xhtml element and place it directly
into the template.

If your stuff isn't valid xhtml, you can try to make it so using
BeautifulSoup, or you can use another template engine for that
particular page

@expose(engine_name:template_location)
def my_method():
    pass

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to