Am 29.06.2011 09:45 schrieb Diez B. Roggisch:
Where and why are you using genshi.XML()? You don't need it in
normal TG usage. If you want to include an already rendered HTML
table in a template, you use Markup().

AFAIK the latter is a synonym for the former - isn't it?

No, Markup() only marks a string as being for inclusion in the output without being escaped, which is very quick (no parsing involved), while XML() parses a string as XML into a markup stream which is much slower.

-- Christoph

--
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