But at least the solution should be to change
<xsl:value-of select="//dc:description"/>
to
<xsl:copy-of select="//dc:description"/>.
Regards,
Joerg
[EMAIL PROTECTED] wrote:
Dear all,
I have a quite long text in an XML tag <description> with some in-line <br /> tags to format it (the text containing these tags was created by an HTML mask after a user input into it[in fact the php script that is processing the mask is replacing CR/LF with <br />])
However after XSL transformation, the HTML result doesn't contain the tags [in fact the HTML source text has the <br /> replaced with CR/LF which is of course not useful !!].
What's wrong with it ??
Cheers, Holger
XML
.
.
.
<dc:description>COPD is a ...range of disease
characteristics including: <br /> <br /> - improvement of FEV1, <br /> <br /> - improvement of symptoms, ...</dc:description>
.
.
.
XSL . . . <I><font color="#00CC00">Description = </font></I><br/> <font color="#000000"><xsl:value-of select="//dc:description"/></font> . . .
HTML (as it displays in the browser)
.
.
.
Description = COPD is a ...range of disease characteristics
including: - improvement of FEV1, - improvement of
symptoms,
--
System Development VIRBUS AG Fon +49(0)341-979-7419 Fax +49(0)341-979-7409 [EMAIL PROTECTED] www.virbus.de
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]