I have some XML text that I wish to render in an HTML page. This text contains an ampersand, which I want to render in its entity representation: &.
&
I have tried &, but it didn't work. Based on Wim ten Brink's answer I tried & and it worked.
One of my fellow developers suggested me to use & and that worked regardless of how many times it may be rendered.