The event is signaled by tpl_content() in inc/template.php after receiving the output on completion of the TPL_ACT_RENDER event. Use it to post process the XHTML output before it is sent to the client browser.
$data contains the parsed page XHTML.
The following plugins are known to handle this event and their source code may be a good start for understanding and implementing a handler yourself.