I am transforming XML into HTML using XSLT.
I have the following XML structure:
<Info><Description>
<p><strong><span style="font-family: Verdana; color: #f0b444;">Description<br />
<span class="BookingResultTxtBlue">description goes here.</span></span></strong></p>
<p><strong><span style="font-family: Verdana; color: #f0b444;"><span class="BookingResultTxtBlue">Test 1</span></span></strong></p>
<p><strong><span style="font-family: Verdana; color: #f0b444;"><span class="BookingResultTxtBlue">Test 2</span></span></strong></p>
<p><strong><span style="font-family: Verdana; color: #f0b444;"><span class="BookingResultTxtBlue">Test 3</span></span></strong></p>
</Description></Info>
My XSLT is as follows
<table>
<tr>
<td>
<xsl:value-of select='Info/Description'/>
</td>
</tr>
</table>
After tansformation html is
<table>
<tr>
<td>description goes here
Test1
Test2
Test3
</td>
</tr>
</table>
What i want here is, styles in original XML to be applied after transformation.