<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div>Hi Folks,<br></div><div><br></div><div>I am storing parsed content from XTreams parsing in the XMLElement that Xtreams parsing uses....(could be different from stock Squeak XML package per recent discussion here.)<br></div><div><br></div><div>The XMLElements escape certain characters:  <a href="https://www.ibm.com/support/knowledgecenter/SSEQTP_liberty/com.ibm.websphere.wlp.doc/ae/rwlp_xml_escape.html" target="_blank">https://www.ibm.com/support/knowledgecenter/SSEQTP_liberty/com.ibm.websphere.wlp.doc/ae/rwlp_xml_escape.html</a></div><div><br></div><div>To get my content to display properly on Chrome, I have to unescape the escaped XML escaped characters.<br></div><div><br></div><div>I wrote a quick and dirty method to git-r-done....<br></div><div><br></div><div><br></div><div><span class="highlight" style="background-color:rgba(61, 60, 64, 0.1)"><span class="colour" style="color:rgb(61, 60, 64)"><span class="font" style="font-family:Menlo, Monaco, Consolas, "Courier New", monospace"><span class="size" style="font-size: 12.15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; float: none;">unEscapeXMLEscapeCharaters: aString
    |xmls|
    xmls := aString copyReplaceAll:'&gt;' with:'>' asTokens:false.
    xmls := xmls copyReplaceAll:'&lt;' with:'<' asTokens:false.            
    xmls := xmls copyReplaceAll:'&quote;' with:'"' asTokens:false.                            
    xmls := xmls copyReplaceAll:'&apos;' with:'''' asTokens:false.                            
    xmls := xmls copyReplaceAll:'&amp;' with:'&' asTokens:false.
^xmls</span></span></span></span><br></div><div><br></div><div><span class="highlight" style="background-color:rgba(61, 60, 64, 0.1)"><span class="colour" style="color:rgb(61, 60, 64)"><span class="font" style="font-family:Menlo, Monaco, Consolas, "Courier New", monospace"><span class="size" style="font-size: 12.15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; float: none;">However, I have a nagging suspicion I have re-invented the wheel; although I did spend significant time hunting for one.</span></span></span></span><br></div><div><br></div><div>If anything obvious jumps out, please respond.<br></div><div><br></div><div>thx.</div><div><br></div><div><br></div></div><br></body></html>