Hi,
I'm working with a xsl:function that should accept to different sequence
types in the same parameter (e.g. element a or b), or even an element
node and an atomic value like xs:string.
Pseudo example:
<xsl:function name="myf:funct" as="xs:string">
<xsl:param name="t" as="element(a) | element(b)"/>
...
or
<xsl:function name="myf:funct" as="xs:string">
<xsl:param name="t" as="element(b) | xs:string"/>
...
Only one sequence type is allowed and function overloading with
different types doesn't work. So does a simple solution exist here?
Thanks in advance,
Georges
--~------------------------------------------------------------------
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>
--~--