views:

71

answers:

1

Does "fn:id" function return IDREFS when it is used in a FLOWER xquery with eXists database?

I can't get any example... :(

TIA

A: 

fn:id returns as sequence of nodes or empty sequence. From the eXist documentation:

id($idrefs as xs:string*) element()*

Returns the sequence of element nodes that have an ID value matching the value of one or more of the IDREF values supplied in $idrefs. If none is matching or $idrefs is the empty sequence, returns the empty sequence.

jtsnake