I'm trying to find out if it is possible to put document properties into a var like last-modified and use them in a value.
However, nothing seems to be able to access the properties.
I am aware the xpath property expression doesn't work but I've been trying to use xdmp:document-properties which I think is supposed to work according to the documentation.
Has anyone tried something like this?