Ampersand in Query

I want to run a query that looks like this:

But I get an error that says “Missing end quotation character”, so I try this:
http://servername/tamino/database/Reports?_xql=mydoc[myelement=“A& amp ;P”]/anotherelement (with no spaces)

I still get the same thing. Is there something I have to set in the database to get it to recognize the escape sequence? Or am I using the incorrect escape sequence? Thanks.

Hi Heather,
You need to URL Encode the ‘&’ character when sending it as part of a URL i.e. "A%26P"