I am attempting to replicate the example given in this answer:
https://stackoverflow.com/a/5127928/356011
that illustrates using external entities to include a fragment of XML file in another XML file.
doc.xml:
<?xml version="1.0" standalone="no" ?>
<!DOCTYPE doc [
<!ENTITY otherFile SYSTEM "otherFile.xml">
]>
<doc>
<foo>
<bar>&otherFile;</bar>
</foo>
</doc>
otherFile.xml:
<baz>this is my content</baz>
When I attempt to test this by opening doc.xml in any browser, I just get:
<doc>
<foo>
<bar/>
</foo>
</doc>
rendered.
Shouldn't it be rendering the included file, as well?