Hey everyone,

I have the following query which I use as a string in Saxon 8.9:
{return(
if (
not(doc('path.xml')/Student/StudentID = doc(path.xml')/RentNote/StudentID)
and
not(doc('path.xml')/Buch/BuchID = doc('path.xml')/RentNote/BuchID)
)
then error()
else <ok></ok>
)
}

However I receive the follwoing error:
[image: Inline-Bild 1]

I cannot see where my error lies. I am just executing the return function
which holds a xpath expression. Can anybody help?

Kind regards,
Gleb

<<image.png>>

_______________________________________________
[email protected]
http://x-query.com/mailman/listinfo/talk

Reply via email to