xsl-list
[Top] [All Lists]

[xsl] Formatting issue with HTML and TEXT output method

2008-07-16 16:39:16
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--