My issue is the following. I have a XHTML 1.1 page that has a form and input fields. One of the input fields contains a value which is an URI. This URI contains key-value pairs with ampersand (&) as argument separator, that will be passed as a GET request by another web application in the browser.
Usually I would use the entity &
to create the ampersands to validate the code as XHTML 1.1. My problem here is that the application does not receive the GET request, since (as expected) the browser does not understand how to handle &
in the URI.
So my question is really how to write an ampersand without using the HTML entity, so the browser still recognises it as the argument separator and the GET request is passed on properly to the web app.
I tried Hex (%26) encoding the ampersand but the browser still does not "translate" it back to a proper & character.
A related question, but it does not provide the exact answer to the question I am asking:
http://stackoverflow.com/questions/275150/xhtml-and-ampersand-encoding