[xsl] Passing HTML elements to a Template

Subject: [xsl] Passing HTML elements to a Template
From: Mark Anderson <mark.anderson@xxxxxxxxxxxxxxxxxxx>
Date: Sun, 6 Jul 2008 15:42:22 +0100
Hi All


I have an XSL that converts XML to HTML. The table contains many columns and a
lot of style changes between columns. I have created a template that I call
with the data to be inserted in each column. However, depending on data
elsewhere in the XML I may need to make some values bold. Below is a simple
example of what I would like to use is:

 <xsl:call-template name="output_value"><xsl:with-param
name="value"><b>Text</b></xsl:with-param></xsl:call-template>

The <b></b> tags are stripped out though. Is there any way arround this?

Regards

Mark

Current Thread