On 10/20/2010 01:59 PM, 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.

Thanks, i'll look into both.

Kees
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to