MediaWiki:Apihelp-query+revisions+base-param-generatexml

Use action=expandtemplates or action=parse instead. Generate XML parse tree for revision content (requires $1prop=content).