[Home] [By Thread] [By Date] [Recent Entries]
At 2009-03-21 11:37 +0530, Mukul Gandhi wrote:
>> <xsl:value-of select="for $i in $start to $end return concat('fig', $i)"/> I'm not sure why you say this. xsl:for-each allows this). But production [3] for ExprSingle points to the RangeExpr through productions [8], [9], [10] then [11]. I feel you should use the following code, instead: That seems awkward when the following works: T:\ftemp>type mukul.xsl
<?xml version="1.0" encoding="US-ASCII"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="2.0"><xsl:output method="text"/> <xsl:template match="/">
<xsl:variable name="start" select="3"/>
<xsl:variable name="end" select="5"/>
<xsl:value-of select="for $i in $start to $end return concat('fig',$i)"/>
</xsl:template></xsl:stylesheet> T:\ftemp>xslt2 mukul.xsl mukul.xsl fig3 fig4 fig5 T:\ftemp> I hope this helps. . . . . . . . . . Ken -- XSLT/XSL-FO/XQuery training in Los Angeles (New dates!) 2009-06-08 Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video Video lesson: http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18 Video overview: http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18 G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
|

Cart



