This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: generating a repeatable unique id


Colin Muller writes:

 > If the doc hasn't changed, you could arrive at the same count during
 > your XSLT processing when the later request comes in

OK, so I know I want "div-645" when I enter the document, so I do

<xsl:apply-templates select="descendant::div[645]"/>

but that sounds a bit expensive? I suppose I should trust the
processor. can the select attribute be constructed with xsl:attribute?

Sebastian


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]