| Subject: Re: [xsl] Passing HTML to template From: "J.Pietschmann" <j3322ptm@xxxxxxxx> Date: Wed, 30 Jul 2003 20:27:16 +0200 | 
The following template call results in all HTML being stripped from the result. Is this normal?
<td><div class="topic_topic"><xsl:value-of select="$TOPIC"/></div></td>
Xsl:value-of copies the stringified value of the selected data to the output, which flattens it if it was an XML tree, thereby also stripping everything you think of as "tag". Use <xsl:copy-of select="$TOPIC"/> instead.
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| [xsl] Passing HTML to template, Karl J. Stubsjoen | Thread | [xsl] number problem, Bernardo Robelo | 
| Re: [xsl] dynamic sort order, J.Pietschmann | Date | RE: RE: [xsl] xsl:output method=xml, cknell | 
| Month |