[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: 1st previous node()

Subject: Re: 1st previous node()
From: Karl Stubsjoen <kstubs@xxxxxxxxx>
Date: Tue, 8 Feb 2011 03:18:42 -0700
Re:  1st previous node()
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.