I've been working on an xsl transfomation on the clientside using JavaScript for a few days now and have been pulling my hair out because Mozzilla doesnt support output escaping but Internet Explorer does so i had it nicely working in IE but not Mozilla.
I finally found a workaround and promissed myself i would share it in as many forums as i could as its been so troublesome.
'bodyText' is the div id where the text is output to.
- document.getElementById('bodyText').innerHTML = document.getElementById('bodyText').textContent;
not the best explination i know so any questions about this i will be happy to answer as its been such a pain for me.