[xsl] Formatting issue with HTML and TEXT output method

Subject: [xsl] Formatting issue with HTML and TEXT output method
From: "Senthilkumaravelan K" <skumaravelan@xxxxxxxxxxxxxx>
Date: Wed, 16 Jul 2008 16:38:48 -0700
Hi All,
We have xml
<note>
<cond>
<html>
<body>
<p align="center">
TESTTESTTESTTESTTESTTESTTESTTESTTEST
TESTTESTTESTTESTTESTTESTTESTTESTTEST
TESTTESTTESTTESTTESTTESTTESTTESTTEST
</p>
<p align="center">
TESTTESTTESTTESTTESTTESTTESTTESTTEST
TESTTESTTESTTESTTESTTESTTESTTESTTEST
TESTTESTTESTTESTTESTTESTTESTTESTTEST
</p>
</body>
</html>
</cond>
<note>

When we write xslt one with "html" as output method and text as output method.

for html out method am using
<xsl:value-of select="//cond">

text output method
<xsl:copy-of select="//cond">


How to make the text xslt output like formatted text output pretty
with alignment.

Any idea would of great help.

Thanks
Senthil

Current Thread