Use action=expandtemplates or action=parse instead. The XML parse tree of revision content (requires content model $1).