TimUW wrote: > > Thanks for the quick feedback Laurence. Would you, or anyone else reading > this, even recommend using the <xsl:template> tag at this point in XDV's > development? If so, what model would you suggest that best incorporates > the tag? I can imagine our Plone 4 themed site not using the > <xsl:template> tag, but it would require some significant retheming work > I'm trying to avoid. >
You should only very rarely need the xsl:template tag - the normal way to use inline xsl is within a normal xdv directive matched targeting an element in the theme (for an example see http://pypi.python.org/pypi/xdv#modifying-the-theme-on-the-fly). You only need an xsl:template when you want to modify elements somewhere in the middle of included content. One day there'll probably be an xdv <replace css:content="#foo">...</replace>, but that will just compile down to an xsl:template anyway. Feel free to use xsl:template, you just need to put them in the root. None of this should have changed though - I don't think a non root <xsl:template> can ever have worked with xdv. Laurence -- View this message in context: http://plone.293351.n2.nabble.com/XDV-Diazo-and-the-xsl-template-tag-tp5923593p5937736.html Sent from the Product Developers mailing list archive at Nabble.com. _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
