How would I get away from ampersands in XML so they are delivered as entities in HTML?
I have some XML text that I wish to deliver on an HTML page. This content contains an ampersand, which I need to deliver in its entity representation: &.
How would I get away from this ampersand in the source XML? I attempted & however, this is decoded as the real ampersand character (&), which is invalid in HTML.
So I need to get away from it so that it will be delivered as & in the website page that utilizes the XML output.