XQuery, fn:id and BD eXist
Does "fn:id" function return IDREFS when it is u开发者_Python百科sed in a FLOWER xquery with eXists database?
I can't get any example... :(
blog entry about fn:id
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.
精彩评论