I am trying to to grab the line and colum number of an expression
found with ft:search to better integrate results for dynamic
interaction in an XML editor. I was hoping to use saxon:line-number,
saxon:character-number, but they are unavailable in BaseX XQuery, only
available in xslt:transform. Do you have suggestions on how to extract
these details from what's available right now in XQuery?