Hi! I'm loading a document with doc() and doing a bunch of stuff to regenerate id attribute values; I'm using generated ids (from generate-id()) as map keys so I can generate the local, this-element id component and then put them all together from the list of ancestor ids. That works.
What doesn't work is trying to use those ids to identify the element which should get this newly constructed id value; calling generate-id() again on the same document doesn't give the same answers. (which is to be expected, at least as I understand how generate-id() is defined.) I have this vague memory that there's a BaseX function that will produce a stable id, but can't remember what it is called. (Or if it will work when I get the document with doc().) Is there such a thing, and if so, what module should I be looking in? Thanks! Graydon

