Well, in that case, you could write your template to only apply the
second template on the nodes/items that the first template processes.
But this isn't strictly composition, I think.
On 15/11/2007, Garvin Riensche <g.riensche@xxxxxxx> wrote:
> > As far as I know, you can't use a temporary tree to compose
> > stylesheets at all. You have to write the output of one stylesheet,
> > and read it again in the second.
> I should have written "template composition" instead of stylesheet
> composition. Than it would be possible to save the result of one
> template in a temporary tree (variable) and apply another template on
> the result.
>
> regards,
> Garvin
|