xsl-list
[Top] [All Lists]

[xsl] xsl:function "complex" return type

2009-05-12 09:38:08
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*">
[...]
</xsl:function>

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,
Regards
Frederic Schwebel

--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>