[阅读: 300] 2006-12-13 10:35:20
XSLT中我定义了一个xsl:variable ,其值计算为 “3,1,1,1”
如何得出最大值给另一个xsl:variable?
上网查了一下,有个max函数,
fn:max((arg,arg,...))
Returns the argument that is greater than the others
Example: max((1,2,3))
Result: 3
Example: max(('a', 'k'))
Result: 'k'
可怎么用都是报错,郁闷了
我这是JSP,用的Xalan