%description: External entities declared within the DOCTYPE are substituted. Unfortunately, elements within the included file cannot not be gotten to work, due to problems in libXML2... THIS TEST DOES NOT PASS WITH EXPAT -- IT DOES NOT SUPPORT DTD VALIDATION. %file: test.xml ]> &greeting; %file: greeting.txt Hello! %activity: cXMLElement *node = getEnvir()->getXMLDocument("test.xml"); EV << node->getXML(); %contains: stdout Hello!