Hi there,

I have the following xquery function:

declare updating function local:insert ($a)
{
insert node <title>{$a}</title> into /web
};

local:insert ("&")


but if I try to insert an apersand, basex says "invalid entity '&' ".

So, my question: is there any way to insert an ampersand?

Thank you.