Subject: Re: [xsl] Fwd: When you give generate-id a nodeset From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Thu, 5 Nov 2015 14:13:02 -0000 |
Given that generate-id given a nodeset only considers the first node I thought wayhay that will work but it didn't until I included a first node predicate explicitly like so.
xsl:key match="stuff | morestuff" use="generate-id(ancestor::tr[predicate] | ancestor::tr[not(predicate)]/preceding-sibling::tr[predicate][1])"/> *** Should such be necessary?. Only tried it running version 1.0 on XSLTProc
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Fwd: When you give generate-i, Ihe Onwuka ihe.onwuk | Thread | [xsl] Trouble passing XSL function , C. Edward Porter cep |
[xsl] Fwd: When you give generate-i, Ihe Onwuka ihe.onwuk | Date | [xsl] Trouble passing XSL function , C. Edward Porter cep |
Month |