Hello Diez, yes it is for an AJAX-Request. It works as you described by adding the namespace to the div. I just did not try that before.
Thanks, Christian 2011/4/4 Diez B. Roggisch <[email protected]> > On Monday, April 04, 2011 09:41:37 am Christian Schanz wrote: > > Hello, > > > > is it possible to deliver html snippets, for example > > > > <div>Some content</div> > > > > without surrounding <html> etc. tags using Genshi? If not, are there any > > alternatives I can use? > > I don't understand the question. Do you mean this as part of a controller > for > e.g. AJAX -requests? Of course you can. Just don't use html as top-level, > but > whatever you like. The genshi-namespace-declaration and the template engine > don't care. > > Diez > > -- > 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. > > -- 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.

