> Thank you for your answer.
> But this operation was possible with eXist 1.2.5.
Yes, but this was more a bug than a feature: eXist 1.2.x stored the
in-memory document into a temporary location in the database before
querying it and you could thus run update statements on it. However,
this was not an intentional feature, rather a side effect of an
otherwise problematic behaviour (the temporary fragments could
destabilize the db and make it slow).
eXist 1.3 can directly query in-memory documents and it will no longer
use any stored temporary fragments. Unfortunately, this also means that
you cannot update an in-memory document using XQuery updates or
XUpdates. I don't think that's a real problem though. You can easily
update your in-memory document using a recursive XQuery function with a
typeswitch at its core.