I am new to xml.
In my DTD section, I have this:
Code:
<!ENTITY % entity "Wrox Entity">
In the body section:
Code:
<book>
<title>XML</title>
<author>abc</author>
<publisher>%entity;</publisher>
</book>
Output in IE6:
Code:
<title>XML</title>
<author>abc</author>
<publisher>%entity;</publisher>
</book>
The output is incorrect where I expect:
Code:
<publisher>Wrox Entity</publisher>
What went wrong to my xml coding?
yengzhai