%description: Entities declared within the DOCTYPE are substituted. THIS TEST DOES NOT PASS WITH EXPAT -- IT DOES NOT SUPPORT DTD VALIDATION. %file: test.xml ]> &greeting; %activity: cXMLElement *node = getEnvir()->getXMLDocument("test.xml"); EV << node->getXML(); %contains: stdout Hello!