Subject: RE: Selecting First Letter
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Tue, 30 Sep 2003 23:11:02 +0100
|
>
> The second match criteria you gave was able to pick off the
> first bit of text successfully. However (and this has been
> the crux of my issue) if I include a template that tries to
> copy-of the
> contents of the <content> node, the text selection template
> never gets matched.
>
Of course it doesn't. copy-of gives you an exact copy of a subtree.
Never use it if you want a modified copy; you have to recurse down the
tree using apply-templates.
Michael Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|