Re: [xml] xpath return type



Petr Pajas wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Stefan Seefeld <seefeld sympatico ca> writes:
>
>
>>   <xsl:message>starts with 'hello':<xsl:value-of
>>select="starts-with('hello', $var)"/></xsl:message>
>
>
> You probably meant starts-with($var,'hello') :-)


now that is embarassing ! :-)
I never looked up the specs for this function myself, but
instead relied on a textbook, which seems to be in error
('The XSL Companion' by Neil Bradley, page 260, in case
anybody cares).

Thanks !

Stefan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]