xsl-list
[Top] [All Lists]

Re: Looking for a shorter mapping expression

2004-12-06 01:39:10
"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().

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