I am attempting to replicate the example given in this answer:
https://mcmap.net/q/67188/-can-we-import-xml-file-into-another-xml-file
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?