Re: [xsl] 1st previous node()

Subject: Re: [xsl] 1st previous node()
From: Karl Stubsjoen <kstubs@xxxxxxxxx>
Date: Tue, 8 Feb 2011 03:18:42 -0700
Yes, I'm meaning stylesheets.
So, 2 different templates, but the same transformer.

I appreciate the feedback.  Thanks.

On Tue, Feb 8, 2011 at 1:58 AM, Michael Kay <mike@xxxxxxxxxxxx> wrote:
> On 08/02/2011 08:19, Karl Stubsjoen wrote:
>>
>> Solved it!
>> 2 different templates, one template with:
>>
>>     <xsl:strip-space elements="*"/>
>>
>> The other not.  This was changing my element id's.  Now they match as
>> expected.  And I suppose that is expected?
>>
>
> By "template" do you perhaps mean "stylesheet"?
>
> If you transform the same document twice with different stylesheets, or
even
> with the same stylesheet, there is no guarantee you will get the same
> results back from generate-id(). They may be closely related (for example
> Saxon's implementation of generate-id() concatenates a document number with
> a node number; the node number will be the same in different
> transformations, while the document number may be different) - but there
are
> no guarantees.
>
> Michael Kay
> Saxonica
>
>



--
Karl Stubsjoen
MeetScoresOnline.com
(602) 845-0006

Current Thread