turugina #6585(2008/06/25 07:09 GMT) [ XSLT ] Rating0/0=0.00
XPath Functions の reverse で逆順になります。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" > <xsl:output method="text" /> <xsl:template match="/" > <xsl:variable name="seq" as="xs:integer*" select="(1,2,3,4,5)" /> <xsl:for-each select="fn:reverse($seq)" > <xsl:value-of select="." /> <xsl:text>
</xsl:text> </xsl:for-each> </xsl:template> </xsl:stylesheet>
Rating0/0=0.00-0+
[ reply ]
turugina
#6585()
[
XSLT
]
Rating0/0=0.00
XPath Functions の reverse で逆順になります。
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" > <xsl:output method="text" /> <xsl:template match="/" > <xsl:variable name="seq" as="xs:integer*" select="(1,2,3,4,5)" /> <xsl:for-each select="fn:reverse($seq)" > <xsl:value-of select="." /> <xsl:text>
</xsl:text> </xsl:for-each> </xsl:template> </xsl:stylesheet>Rating0/0=0.00-0+
[ reply ]