xsl-list
[Top] [All Lists]

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

2012-01-13 13:21:50
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(_at_)CraneSoftwrights(_dot_)com
Google+ profile: https://plus.google.com/116832879756988317389/about
Legal business disclaimers:    http://www.CraneSoftwrights.com/legal


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>