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: &.
&
Consider if your XML looks like below.
SELECT * FROM EMP WHERE ID=1 AND RES<>'GCF'
You cannot use the <> directly as it throws an error. In that case, you can use <> in replacement of that.
<>
SELECT * FROM EMP WHERE ID=1 AND RES <> 'GCF'
Click here to see all the codes.