[xslt] XSLT puts carriage return in html tag name



hello All

I am converting XML to HTML using a XSLT stylesheet
and sending the output dynamically to browser.
Sometimes XSLT put extra whitespace in the HTML tag..
e.g
for ending tag </tr> it puts < then a carriage return
and then /tr>.. This causes HTML page not to render
appropriately.

<tr>
         <td width="5">
&nbsp;</td><td width="145"><a class="rlinks"
href="/software/data/cm/about_cmcp.html">Complementary
software, hardware and 

services</a></td>
      <
/tr>


What is the solution to this problem

Thanks in advance for any response

My Stylesheet processes HTML with following output
method

<xsl:output method="html" version="1.0"
encoding="UTF-8" indent="yes"/>

FYI.

Pramod

__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]