Returns true
if two supplied QNames have the same namespace URI and the
same local part.
xs:QName
. op:QName-equal
( $arg1
as xs:QName
,$arg2
as xs:QName
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 absent, 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.