```xquery <root><sub/>a</root> update { insert node 'b' after sub, replace node text() with 'c' } ``` Expected text node: `c` (instead of `bc`).