Hi all, I'm trying to teach myself Genshi within TG, and I'm convinced that my <xi:include> statement is not working.
Here's my main page: <!DOCTYPE html PUBLIC "-//W3C/DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xi="http:/www.w3.org/2001/XInclude" xmlns:py="http://genshi.edgewall.org"> <xi:include href="master.html" /> <head> <title>Welcome to Genshi</title> <meta name="keywords" content="from the index page" /> </head> <body> Hello world </body> </html and here's my master.html <!DOCTYPE html PUBLIC "-//W3C/DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:py="http://genshi.edgewall.org/" py:strip=""> <py:match path="head" once="true"> <head py:attrs="select('@*')"> <title py:with="title = list(select('title/text()'))"> MySite<py:if test="title">: ${title}</py:if> </title> <meta name="keywords" content="from the layout page" /> </head> </py:match> </html> I'm fairly certain that my master.html template is not being included, because I can introduce an intentional error into it and not get an error message. Although if I change the include statement to <xi:include href="asdf.html"> I also do not get an error message. TG 1.0.4b1, Genshi 0.4.4 So, am I missing something obvious? Is there a debugging config that I can turn up to get more info about what it's doing? Many thanks! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

