Is it possible to do it over an actually opened file? Or is it necessary to load the file with the doc() function?
I have checked nearly twenty times there is no such a choice called Enable XQuery 1.1 for Saxon-EE in the Options, which I have read about in the forums. In the XQuery pane I have selected Saxon-EE XQuery.
When I try to use the very basic:
Code: Select all
declare namespace tei = 'http://www.tei-c.org/ns/1.0';
let $header := tei:TEI//tei:teiHeader
return
update delete node $header
Code: Select all
XPST0003: Unexpected token "rename nodes" beyond end of query
I will be very grateful for any hint how to make that working.
Honza Hejzl