以文本方式查看主题 - 中文XML论坛 - 专业的XML技术讨论区 (http://bbs.xml.org.cn/index.asp) -- 『 XSL/XSLT/XSL-FO/CSS 』 (http://bbs.xml.org.cn/list.asp?boardid=8) ---- 一个JS的SRC在XSL里该怎么写呢 (http://bbs.xml.org.cn/dispbbs.asp?boardid=8&rootid=&id=9975) |
-- 作者:hubro -- 发布时间:9/15/2004 9:35:00 AM -- 一个JS的SRC在XSL里该怎么写呢 <script language="javascript" src="1.js"></script> 这样? <xsl:element name="script"> <xsl:attribute name="language">javascript</xsl:attribute> <xsl:attribute name="src"> @foderpath/hit.asp?id=<xsl:value-of select="htmlog/top/id" />&type=1 </xsl:attribute> </xsl:element> |
-- 作者:alextoby -- 发布时间:9/15/2004 12:00:00 PM -- <?xml version="1.0" encoding="GB2312" ?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"> <xsl:template match="/"> <html> <head> <script language="javascript" src="1.js"></script> </head> <body> </body> </html> </xsl:template> </xsl:stylesheet> 这样写不行吗? |
W 3 C h i n a ( since 2003 ) 旗 下 站 点 苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》 |
31.250ms |