LOOK:
<?xml version="1.0" encoding="gb2312" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<!-- _VARIABLE_DECLARE_HERE -->
<xsl:variable name="MTBorder">#000000</xsl:variable> <!-- 这里声明变量MTBorder -->
<xsl:template match="/">
<table width="100%" cellPadding="0" cellspacing="1" bgcolor="{$MTBorder}"><!-- 这里使用变量MTBorder -->
<tr>
<td>
<xsl:for-each select="DFWML/Q">
<table width="100%" cellspacing="0" cellpadding="4" bgcolor="{$QTTitleBG}">
<tr>
<td colspan="2">
<b>问题:</b><xsl:value-of select="subject" /> ( 积分:<xsl:value-of select="points" />, 回复:<xsl:value-of select="reply_n" />, 阅读:<xsl:value-of select="read_n" /> )<br/>
<b>分类:</b><xsl:value-of select="room" /> ( 版主:<xsl:value-of select="master" />, <xsl:value-of select="master2" /> )
</td>
</tr>