Laurence Rowe wrote: > > > Kees Hink wrote: >> >> Just tested it with an almost empty setup, and that worked. >> >> (I did this: >> * From >> https://codespeak.net/svn/z3/xdv/trunk/lib/xdv/tests/inline-xsl-example-modify-text/, >> i copied the rules.xml as rules-test.xml, >> * added <theme href="theme-test.html" /> >> * copied theme.html as theme-test.html, >> * added an alternate theme in collective.xdv setup: use rules-test.xml >> for >> content item called "test", >> * i was able to append text to p's, span's etcetera.) >> >> Probably my rules.xml does something stupid, but i can't figure out what >> it is. >> >> Is there a way to debug? >> >> (Perhaps it is helpful if i post my rules file: >> http://pastie.org/1235085.) >> > > Your rules use <xsl:copy-of select="." />. This means the content is > copied directly without being exposed to other templates. Try switching it > for <xsl:apply-templates select="." /> > > I guess you could take a look at http://xsldbg.sourceforge.net/ but I > haven't used it myself. >
I just added a test to show this works: https://codespeak.net/svn/z3/xdv/trunk/lib/xdv/tests/inline-xsl-apply-templates Laurence -- View this message in context: http://plone.293351.n2.nabble.com/complex-XSLT-in-collective-xdv-search-and-replace-in-HTML-tp5646426p5654539.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
