[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Karl J. Stubsjoen wrote:
Yes. This is a FAQ.
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Re: [xsl] Passing HTML to template
Subject: Re: [xsl] Passing HTML to template From: "J.Pietschmann" <j3322ptm@xxxxxxxx> Date: Wed, 30 Jul 2003 20:27:16 +0200 |
Karl J. Stubsjoen wrote:
The following template call results in all HTML being stripped from the result. Is this normal?
Yes. This is a FAQ.
<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.
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
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 |
Keywords