parameters: (self, text)
return_statement: return text
docstring: Replace all &, ', ", <, and > characters with the predefined XML
             entities
docstring_summary: Replace all &, ', ", <, and > characters with the predefined XML
             entities
docstring_tokens: Replace all & < and > characters with the predefined XML entities
function: def ampReplace(self, text):
          '''Replace all &, ', ", <, and > characters with the predefined XML
             entities
          '''
          text = self.textUtf8(text)
          text = text.replace('&amp;','~~~~~').replace('&','&amp;').replace('~~~~~', '&amp;')
          text = text.replace("'", "&apos;").replace('"', '&quot;')
          text = text.replace('<', '&lt;').replace('>', '&gt;')
          return text
function_tokens: def ampReplace ( self , text ) : text = self . textUtf8 ( text ) text = text . replace ( '&amp;' , '~~~~~' ) . replace ( '&' , '&amp;' ) . replace ( '~~~~~' , '&amp;' ) text = text . replace ( "'" , "&apos;" ) . replace ( '"' , '&quot;' ) text = text . replace ( '<' , '&lt;' ) . replace ( '>' , '&gt;' ) return text