![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: formatting text with XSLT >Thread Next - Re: formatting text with XSLT Re: formatting text with XSLTTo: NULL Date: 4/1/2005 7:28:00 PM
Steven wrote:
> so there's no way to just have it displayed/copied exactly the way it's
> typed in the XML?
If you are transforming to HTML you can use the <pre> element e.g.
<xsl:template match="song">
<h2><xsl:value-of select="@title" /></h2>
<pre><xsl:value-of select="." /></pre>
</xsl:template>
--
Martin Honnen
http://JavaScript.FAQTs.com/
| ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
