Hi Rob,

Could you provide us with a self-contained example? The following example code 
works as expected:

  store:read('x'),
  delete node <a/>

Best,
Christian

________________________________
Von: Rob Stapper via BaseX-Talk <[email protected]>
Gesendet: Donnerstag, 4. Dezember 2025 14:26
An: [email protected] <[email protected]>
Betreff: [basex-talk] store:read within an updating function

Hello Christian,

Allthough the store:read function returns an empty sequense I found that it 
still triggers  the error: 'expressions must all be updating ....', when used 
within an updating function.

I guess this error is unnecesary.
The workaround is quite easy by using a void function[1]

[1] store:read( $name) => void()


mvgr.

Rob Stapper

Reply via email to