Translations:Manual:Preprocessor DOM.php/9/en

produces the expanded wikitext from the DOM tree.