[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] why does the linit not work here ?


Subject: RE: [xsl] why does the linit not work here ?
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 13 Jan 2012 14:20:53 -0500

At 2012-01-13 19:18 +0000, you wrote:
Thanks but it won't work.

Right, because you transcribed it incorrectly.


When I change it to this : <xsl:apply-templates select="dagboek/entry[[position() &gt; $offset and position() &lt; $end]
" />

You have "[[" and not "[".


The error message even tells you it cannot compile your expression:

Invalid expressionXSLTProcessor::importStylesheet(): XSLT-apply-templates: could not compile select expression 'dagboek/entry[[position() > $offset and position() < $end]

I hope this helps you understand the error message.


. . . . . . . . . . Ken

--
Contact us for world-wide XML consulting and instructor-led training
Free 5-hour video lecture: XSLT/XPath 1.0 & 2.0 http://ude.my/uoui9h
Crane Softwrights Ltd.            http://www.CraneSoftwrights.com/s/
G. Ken Holman                   mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Google+ profile: https://plus.google.com/116832879756988317389/about
Legal business disclaimers:    http://www.CraneSoftwrights.com/legal


Current Thread
Keywords
xml