This section specifies operators that take xs:NOTATION
values as arguments.
Function | Meaning |
---|---|
op:NOTATION-equal |
Returns true if the two xs:NOTATION values have the same
namespace URI and the same local part. |
Returns true
if the two xs:NOTATION
values have the same
namespace URI and the same local part.
Defines the
semantics of the "eq" and "ne" operators when applied to two values of type
xs:NOTATION
.
op:NOTATION-equal ( |
||
$arg1 |
as xs:NOTATION , |
|
$arg2 |
as xs:NOTATION |
|
) as xs:boolean |
The function returns true
if the namespace URIs of $arg1
and
$arg2
are equal and the local names of $arg1
and
$arg2
are equal.
Otherwise, the function returns false
.
The namespace URI parts are considered equal if they are both absentDM40, or if they are both present and equal under the rules
of the fn:codepoint-equal
function.
The local parts are also compared under the rules of the fn:codepoint-equal
function.
The prefix parts of $arg1
and $arg2
, if any, are ignored.