Thanks for the tips. It works after I removed this piece code
in the one you gave:
as="xs:string()*"
Because otherwise, I see an error during the runtime:
"
XPST0003: SequenceType syntax error at char 0 in
{xs:string()}:
Expected type name in SequenceType, found <function>(
Failed to compile stylesheet. 1 error detected.
Sorry, the "()" was a slip, it should be as="xs:string*". You need to
declare the namespace xmlns:xs="http://www.w3.org/2001/XMLSchema". Declaring
the types of your variables should be second nature - it makes debugging so
much easier - and most of the types will be in the XML Schema namespace.
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>
--~--