So:
<xsl:variable name="board" select="('1, 2, 3')" as="xs:integer+"/>
becomes:
<xsl:param name="board" .... as="xs:integer+"/>
But this fails as the passed in value is typed as a String. How do
you get from the String "1, 2, 3" to the typed sequence (1, 2, 3) ?
You use tokenize($board, ',\s*').
But why make it a string in the first place, why not write it as
select="1, 2, 3"
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>
--~--