View Single Post
  #1 (permalink)  
Old April 10th, 2005, 11:37 AM
yengzhai yengzhai is offline
Authorized User
 
Join Date: Nov 2004
Location: , , .
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default xml parameter entity

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
__________________
yengzhai
Reply With Quote