Murtaza Tinwala wrote:
> I have to convert an XML document into HTML output through the
> use of XSLT. I am receiving some text content which contains tab
> characters. I have to display this content into TD. How should I
> create HTML tab? I can identify tabs in XSLT. But, how to display
> tabs exactly in HTML? Can anybody help?
Whitespace in HTML is usually collapsed, what you can do is use the HTML
<pre> element to have whitespace rendered e.g.
<td>
<pre>
<xsl:value-of select="yourElement" />
</pre>
</td>
--
Martin Honnen
http://JavaScript.FAQTs.com/