|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
||||
|
||||
|
XSL: selecting a value in last()
Hello,
Is there any 'good' method to select the last() value? currently, im using <xsl:for-each select="./Books/Book"> <xsl:if test="position() = last()"> The last book name is <xsl:value-of select="./BookName"/> </xsl:if> </xsl:for-each> |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > XSL: selecting a value in last() |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|