[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Passing HTML to template

Subject: Passing HTML to template
From: "Karl J. Stubsjoen" <karl@xxxxxxxxxxxxx>
Date: Wed, 30 Jul 2003 08:22:22 -0700
html passing
Hello,
The following template call results in all HTML being stripped from the
result.  Is this normal?

 <xsl:call-template name="topic_a">
        <xsl:with-param name="TITLE">Current Meets</xsl:with-param>
        <xsl:with-param name="TOPIC_WIDTH">200</xsl:with-param>
        <xsl:with-param name="TOPIC">
         Be the first to schedule a meet!
            Click <a href="addmeet.asp">Here!</a>
        </xsl:with-param>
    </xsl:call-template>
</xsl:template>

The template looks like this:
<xsl:template name="topic_a">
<xsl:param name="TITLE"/>
<xsl:param name="TOPIC"/>
<xsl:param name="TOPIC_WIDTH">200</xsl:param>
<table width="{$TOPIC_WIDTH}" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="5"><img src="images/msotopic_tplt.gif" width="5"
height="15"/></td>
          <td bgcolor="F7F7F7"><div class="topic_title"><xsl:value-of
disable-output-escaping="yes" select="$TITLE"/></div></td>
          <td width="5"><img src="images/msotopic_tprt.gif" width="5"
height="15"/></td>
        </tr>
      </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="5"><IMG SRC="images/msotopic_lt.gif" WIDTH="5"
HEIGHT="7" ALT=""/></td>
          <td background="images/msotopic_rpt.gif"><strong><IMG
SRC="images/msotopic_rpt.gif" WIDTH="15" HEIGHT="7" ALT=""/></strong></td>
          <td width="5"><IMG SRC="images/msotopic_rt.gif" WIDTH="5"
HEIGHT="7" ALT=""/></td>
        </tr>
      </table></td>
  </tr>
  <tr>
    <td><div class="topic_topic"><xsl:value-of select="$TOPIC"/></div></td>
  </tr>
</table>
</xsl:template>
</xsl:stylesheet>


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.