[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

template output as text


Subject: template output as text
From: "xsl list" <xsl_list@xxxxxxxxxxx>
Date: Wed, 06 Sep 2000 16:26:12 EDT

<xsl:template match="/">
<table><tr><td>
	<xsl:call-template name="example"/>
</td><td>
	<xsl:call-template name="example"/>
</td></tr></table>
</xsl:template>

The template "example" generates HTML tags. In the first column, I need to print the outcome of the template "example" as a source code (un-interpeted). While, I want it to be interpeted in the second column. How can I do that?
Can I tell the compilor (I am using Xalan-J 1.2) to treat the output of the template in the first column as text or CDATA?
<xsl:text><xsl:call-template name="example"/></xsl:text> does not work


_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at http://profiles.msn.com.


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list




Current Thread