How to create a union of two string sequences in xpath 2.0?
Having these two functions ...
<xsl:function name="my:foo" as="xs:string*"> .... </xsl:function> <xsl:function name="my:bar" as="xs:string*"> .... </xsl:function>
I want to iterate both resulting string sequences, for example:
<xsl:variable name="myResult" select="for $s in my:foo() ??union?? my:bar() return my:doSomethingWith($s)" />
James source share