[xsl] xsl:function "complex" return type

Subject: [xsl] xsl:function "complex" return type
From: Frédéric Choubelle <djidjoenator@xxxxxxxxx>
Date: Tue, 12 May 2009 15:37:46 +0200
Hi folks,

I want an XSL function to return one string and two integers. I know I
can write :

<xsl:function name="doc:myfunc" as="xs:string*">

and use the number() function for the 2d and 3d strings returned.
That's what I'll do if I can't do anything else, but i'm just curious
to know if something like
<xsl:function name="doc:myfunc" as="(xs:string,xs:integer,xs:integer)">
works (I tried both with and without brackets, always gets "XPST0003:
SequenceType syntax error" from Saxon)

Thanks in advance for any reply,
Frederic Schwebel

Current Thread