Subject: Re: When exactly is the current node changed?
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: 16 Nov 2006 21:09:16 +0000
|
>>>>> "Dimitre" == Dimitre Novatchev <dnovatchev@xxxxxxxxx> writes:
>> Actually, I don't really understand the question.
>> xsl:apply-templates choose template rules, and those are
>> instanciated with the right node as current node. What happens
>> between these two points is out of interest IMHO, and
>> implementation-dependant, isn't it?
Dimitre> Let me give one possible example.
Dimitre> Say, you have a Debugger, which should break whenever the
Dimitre> current node is changed.
Dimitre> Do we want the break to occur when the
Dimitre> xsl:apply-templates is the current instruction?
Dimitre> Or do we want the break to occur only when the
Dimitre> xsl:template of the selected (for this node) template
Dimitre> becomes the current instruction?
Hey! Have you been reading my mind?
I should be able to give you an answer before then end of the year on
this specific scenario.
--
Colin Adams
Preston Lancashire
|