Re: [xsl] A general <xsl:key> question.

Subject: Re: [xsl] A general <xsl:key> question.
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 05 Dec 2002 12:21:26 -0500
Your question may be moot until you make an important change:

At 2002-12-05 09:40 -0700, Edward L. Knoll wrote:
<xsl:key name="PageKey" match="/gnsl:Results/gnsl:Table/gnsl:Row"
         use="((count(preceding-sibling::*) div $RowsPerPage) + 1)" />

Section 12.2 of the Recommendation states:


===8<---
It is an error for the value of either the use attribute or the match attribute to contain a <http://www.w3.org/TR/xpath#NT-VariableReference>VariableReference.
===8<---


Perhaps once you get rid of that, then other problems could be examined. If anyone tries to solve your problem with the declaration you have now, it may have to change. I'm not sure, because I haven't looked at the rest of your problem, but the fact that you have an error in your declaration raised a red flag right away.

I hope this helps.

.......................... Ken


-- Upcoming hands-on in-depth XSLT/XPath and/or XSL-FO: - North America: Feb 3 - Feb 7,2003

G. Ken Holman               mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.        http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0  +1(613)489-0999 (F:-0995)
ISBN 0-13-065196-6                     Definitive XSLT and XPath
ISBN 0-13-140374-5                             Definitive XSL-FO
ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath
ISBN 1-894049-10-1             Practical Formatting Using XSL-FO
Next conference training:                    2002-12-08,03-03,06


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



Current Thread