I got lenya 2.0 working out of SVN. I changed sitemap2html.xslt to have this line:
<xsl:template match="node()|@*|comment()|processing-instruction()" priority="-1"/> And I put my comment in page2xhtml.xsl. However it still doesn't work. Any ideas? I really don't know how identity transform works, so I just replaced the old part. Thanks for any help. On Nov 21, 2007 5:40 PM, Andres Olarte <[EMAIL PROTECTED]> wrote: > I'm using 1.2.5 > > I haven't tried 2.0. Is it safe to use 2.0 for something that will > soon be live? > > Anyway, thanks a lot for your quick answer. > > > On Nov 21, 2007 5:33 PM, Jörn Nettingsmeier <[EMAIL PROTECTED]> wrote: > > Andres Olarte wrote: > > > I need to include some text in the <head> of every page, it's a script > > > wrapped in comment to fix a PNG rendering problem in IE... This is the > > > code I need: > > > > > However, since it's a comment, it gets ignored. Any ideas how I might do > > > this? > > > > which lenya version? it should work in lenya 2.0. > > check your identity transforms: they should match for "node()|@*", not > > "*|@*|text()", because the latter ignores comments... > > > > > > > > -- > > Jörn Nettingsmeier > > > > "One of my most productive days was throwing away 1000 lines of code." > > - Ken Thompson. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
