[Home] [By Thread] [By Date] [Recent Entries]
But the second stylesheet, which is doing the addition, doesn't depend
on the nodes that the first one processes, it depends on the nodes that
the first one adds. And these nodes (<aaa>) habe the same name as some
aleady existing nodes. The question is, is it possible for the xslt
processor to find out which <aaa> elemnts are from the source xml and
which are added by the stylesheet without adding extra inforomation to
the added elements.
Maybe the example is not the best but i wanted to keep it short and simple. I am just looking for a way to influence a template's behavior from outside. In this case I want to control whether stylesheet2 processes all <aaa> nodes or only the ones added by the first stylesheet. regards, Garvin Well, in that case, you could write your template to only apply the second template on the nodes/items that the first template processes.
|

Cart



