The xml document i have is
<?xml version="1.0"?>
<!DOCTYPE data SYSTEM "data.dtd">
<data>
<p>i have 2$ <italic>to spend</italic>.My name is —jinat.</p>
<p>i have 3$ <italic>to spend</italic>.My name is —aysha.</p>
</data>
i have to display the text in html keeping the formatting accortind to the information provided by xml tag.that is the text between <italic> element should be in italic format in html. the output result should be
i have 2$ to spend. My name is-jinat.
i have 3$ to spend. My name is-aysha.
my xsl and dtd file are attaced.But this gives me the output result as
i have 2to spend$.My name is—jinat.
i have 3to spend$.My name is—aysha.
what should i do? plz any one help me.i am new in xsl. Thanks in advance.
data.dtd The dtd file
xslstyle(2).xsl The xsl file
|