This function is like XPath built-in
function, except that it operates on the document
specified in the first argument. It returns a node-set
consisting of nodes that belong to the document DOC
and whose ID belongs to the list of space separated
IDs specified in the second argument.