Doubt regading gen. entity ref. in element content

Amit Rekhi (amitr@abinfosys.com)
Thu, 15 Oct 1998 11:11:15 +0530


Hello,
Would there be any change in the element content model if the
element content contained an external parsed general entity refrence?. i.e.

If I have an xml file :-
.
.
<?xml version="1.0"?>
<!DOCTYPE root-ele [
<!ENTITY ele2-replace SYSTEM "ele2.xml">
<!ELEMENT root-ele (ele1,ele2)>
<!ELEMENT ele1 (#PCDATA)>
<!ELEMENT ele2 (#PCDATA)>
]>
<root-ele>
<ele1>Test1</ele1>
&ele2-replace;
</root-ele>
.
.
/*----file = ele2.xml-----*/
<ele2>Test</ele2>