Saxon extensions to the W3C XSLT/XQuery specifications
A new extension function saxon:deep-equal() is introduced. This is equivalent to the standard fn:deep-equal() function but with an extra argument to control the comparison details. For example the flag "N" can be set to require two elements to have identical namespace nodes. The function also provides a flag "?" which causes warnings to be displayed explaining the reason for any non-match.