[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

overriding xpath functions

Subject: overriding xpath functions
From: Jakub Malý <jakub@xxxxxxx>
Date: Fri, 9 Mar 2012 09:26:13 +0100
 overriding xpath functions
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.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.