or simpler,
<xsl:function name="num:roman" as="xs:string">
<xsl:param name="value" as="xs:integer"/>
<xsl:number value="$value" format="I."/>
</xsl:function>
<xsl:variable name="strRoman" as="xs:string*"
select="for $i in (1 to 19) return
num:roman($i)"/>
i used the former instead of the later, i'm having an
error on the for statement in select (not a valid
XPATH 2.0 expression).
Did you declare the "num" namespace prefix? If you did, then this is a valid
XPath 2.0 expression.
Michael Kay
http://www.saxonica.com/
--~------------------------------------------------------------------
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>
--~--