def subXMLHTMLSGMLRefs(s):
 return re_everyentcharrefssub(_replAllXMLRef, s)

def subXMLHTMLSGMLRefs ( s ) : return re_everyentcharrefssub ( _replAllXMLRef , s )
return the given string with xml/html/sgml entity and char references replaced .