On Tue, Sep 10, 2019 at 3:37 AM Liam R. E. Quin <liam@fromoldbooks.org> wrote:
XML entities are expanded by he XML parser, so by the time XQuery (or
XSLT) sees the document they are gone.

Ah, yes, I totally forgot about that! Thanks for clarification!