I like to use a snippet (that I place in document A) to load content of document B and display it.
If it would be only HTML, it would be easy to load like that using the snippet:
$docdata = $modx->getDocument($docid, 'content', 1);
return $docdata['content'];
However, the document resource loaded contains snippets itself. And those will not be executed like this.
How can I: 1. load the content and 2. force the execution of the snippets thereafter.
PS for Mods: I have introduced the new tag evolution-cms for this post, since modx evo is continued with this new name at evo.im. See also Github.