|
以文本方式查看主题 - 计算机科学论坛 (http://bbs.xml.org.cn/index.asp) -- 『 XSL/XSLT/XSL-FO/CSS 』 (http://bbs.xml.org.cn/list.asp?boardid=8) ---- 请教个关于script和eval的问题 (http://bbs.xml.org.cn/dispbbs.asp?boardid=8&rootid=&id=17033) |
|
-- 作者:timwhoung -- 发布时间:4/15/2005 5:49:00 PM -- 请教个关于script和eval的问题 <xsl:template match = "channel" > <table align="center" style="background-color:#e5e5e5;"> <tr><td style="text-align:center"> <h1><xsl:value-of select="category"/>-<xsl:value-of select="title"/></h1> <a target="_blank"><xsl:attribute name="href"><xsl:value-of select="link" /></xsl:attribute><xsl:value-of select="link"/></a><br /> <xsl:value-of select="copyright"/> </td></tr> </table> <!--item项--> <table align="center"> <xsl:for-each select="item"> <tr><td> <b><xsl:eval>cls(this)</xsl:eval></b> (<xsl:value-of select="pubDate"/>)<br /> <a target="_blank"><xsl:attribute name="href"><xsl:value-of select="link" /></xsl:attribute><xsl:value-of select="link"/></a><p /> <xsl:value-of select="description"/> </td></tr> </xsl:for-each> </table> <xsl:script> |
|
-- 作者:netet -- 发布时间:6/12/2005 2:34:00 PM -- eval不是只能在草案中用得吗?找找有么有在1999里面使用的办法。 关注中~param~param~param |
|
-- 作者:孤独 -- 发布时间:6/15/2005 8:05:00 AM -- 1999不支持,用MSSCRIPT,不过这个是个独立命名空间,而且只有ms的解析式懂&(*#@&*( |
|
W 3 C h i n a ( since 2003 ) 旗 下 站 点 苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》 |
31.250ms |