Returns the sequence of element or attributes nodes with an IDREF value matching the value of one or more of the ID values supplied in $ids. If none is matching or $ids is the empty sequence, returns the empty sequence.
$ids
The ID sequence
Returns the elements with matching IDREF values from IDs in $ids
idref($ids as xs:string*, $node-in-document as node()) node()*
Returns the sequence of element or attributes nodes with an IDREF value matching the value of one or more of the ID values supplied in $ids. If none is matching or $ids is the empty sequence, returns the empty sequence.
$ids
The ID sequence
$node-in-document
The node in document
Returns the elements with matching IDREF values from IDs in $ids in the same document as $node-in-document