I’m looking for a solution to generate an identifier in a XQuery query. But apparently I think that one cannot use functions XSLT in XQuery ( generate-id() ). Then another solution would have to generate a ID with XQuery, for example by using the Relations between the nodes: Parent, Children, Siblings, Ancestors, Descendants; kind of : “count (preceding:: noeudx) +1” , but I don’t know how to write it properly.
Thanks for help !!