xsl-list
[Top] [All Lists]

Re: Looking for a shorter mapping expression

2004-12-06 02:30:16
On 06 Dec 2004 08:39:10 +0000, Colin Paul Adams
<colin(_at_)colina(_dot_)demon(_dot_)co(_dot_)uk> wrote:
"Dimtre" == Dimtre Novatchev <dnovatchev(_at_)gmail(_dot_)com> writes:

   Dimtre> Even the last E2 in a path expression should evaluate
   Dimtre> either to a sequence of nodes or a sequence of atomic
   Dimtre> values, but not a mixture of the two... I find this
   Dimtre> unreasonably restrictive

Is it really so restrictive in practise?

Given that E1 must be a node sequence, then even if the restriction
were not there, you would still only be gaining functions of type

[a] -> [a|b]

where a is node() and b is atomic().


Colin,

by "unreasonably restrictive" I mean that the reason for its being
restrictive is not known.

Cheers,
Dimitre.

Is that so useful?
--


Colin Paul Adams
Preston Lancashire

--~------------------------------------------------------------------
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>
--~--



--~------------------------------------------------------------------
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>
--~--