On Saturday 25 April 2009 09.29:33 [email protected] wrote: > xi:include works...but...the only issue is I can't figure out is how > to include a file that isn't wrapped in one large element. I really > don't want to include my <script>s inside a <div>. > <div xmlns="http://www.w3.org/1999/xhtml" > xmlns:py="http://genshi.edgewall.org/" > xmlns:xi="http://www.w3.org/2001/XInclude">
Add a py:strip="" attribute: <div xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://genshi.edgewall.org/" xmlns:xi="http://www.w3.org/2001/XInclude" py:strip=""> (The turbogears default templates in the quickstart also so this, btw.) cheers -- vbi -- featured product: vim - http://vim.org
signature.asc
Description: This is a digitally signed message part.

