xsl-list
[Top] [All Lists]

[xsl] overriding xpath functions

2012-03-09 02:26:49
Hello,
maybe dumb question - what happens when a processor encounters an
expression using the eq operator (and the other related operators)? Since
eq is sort of overloaded and calls different functions according to the
type of the operands (op:numeric-equal, fn:compare etc).
And especially when the operands are empty sequences - like in () eq ()?
The result is an empty sequence*, but what steps lead to it?
Follow-up question - is it possible to override the built-in xpath
functions in XSLT or XQuery?

* is it written somewhere in the specs, that eq returns empty sequence
when some of the operands is an empty sequence? I looked, but did not find
it..

Thanks,
Jakub.

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

<Prev in Thread] Current Thread [Next in Thread>