Re: [xsl] casting sequences

Subject: Re: [xsl] casting sequences
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Thu, 8 Jan 2009 00:49:25 +0100 (CET)
Michael Kay wrote:

> for $t in tokenize() return xs:dayTimeDuration($t)

> Tedious - some of us tried very hard to get a "simple mapping
> operator" that would do this without needing a variable - but the
> attempt floundered.

  Yes, for that kind of expressions, I always miss the ability to use
the step operator on atomic values:

    tokenize(...)/xs:dayTimeDuration(.)

  Were there any clear reason the attempt floundered?

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/

Current Thread