Outputs text or XML.