[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] value-of w/separator and nodes
Subject: Re: [xsl] value-of w/separator and nodes
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Fri, 02 Feb 2007 20:27:27 +0100
|
Mukul Gandhi wrote:
The function result is returned using an <xsl:sequence> instruction.
So if you use,
<xsl:function name="my:test">
<xsl:sequence select="'1'" />
</xsl:function>
You'll get output as 1|1|1|1|1 ...
Yes, I found that, too. Now it is not a text node anymore, but a string
(or, better, a sequence of type string). The same as with the
as="xs:string" would happen.
Thanks,
Abel
|