您可以在这里快速查找:


 
您的位置: 编程学习 > java教程 > 200602
文章分类

Java技术
2005: 03 04 05 06 07 08
09 10 11 12
2006: 01 02

Asp.net
2005: 07 08 09 10 11 12
2006: 01 02

VB编程
2006: 02

Asp编程
2005: 11 12
2006: 01 02

C++/VC
2005: 10 11 12
2006: 01 02

Delphi
2005: 12
2006: 01 02

其它

 本文章适合所有读者

根据xsl变量决定页面某些属性

sinkiangscorpio

 根据xsl变量决定页面某些属性

首先定义xsl变量

<xsl:variable name="autoMode" select="item/autoMode"/>

然后进行判断    

<tr>
          <th width="" nowrap="">自动购买</th>
          <td>
           <input type="radio" name="autoMode" value="1" onclick="doItDoYouWant(this)">
            <xsl:if test="$autoMode=´1´ ">
             <xsl:attribute name="checked">
</xsl:attribute>
            </xsl:if>
           </input>
           </td>
         </tr>