求救,关于xsl包含html页面

singnet 2004-09-13 05:30:19
为什么我用
<script>
<xsl:attribute name="src">/include/top.htm</xsl:attribute>

</script>
不能执行呢?请各位老大帮帮忙,分不够可以在加
...全文
83 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
singnet 2004-09-15
  • 打赏
  • 举报
回复
看来只能iframe了,谢谢楼上的两位老大
singnet 2004-09-15
  • 打赏
  • 举报
回复
不是,就是普通的htm文件
ssm1226 2004-09-14
  • 打赏
  • 举报
回复
top.htm是js文件格式内容吗?
singnet 2004-09-14
  • 打赏
  • 举报
回复
老大们,帮帮忙哈
孟子E章 2004-09-14
  • 打赏
  • 举报
回复
1,top.htm 内容必须是符合js语法的内容
例如:
var x = "ok"


or
2,
<script defer="">
<xsl:attribute name="src">/include/top.htm</xsl:attribute><!--this is ok--></script>
孟子E章 2004-09-14
  • 打赏
  • 举报
回复
1,top.htm 内容必须是符合js语法的内容
例如:
var x = "ok"

2,
<script>
<xsl:attribute name="src">/include/top.htm</xsl:attribute><!--this is ok--></script>
agen10120216 2004-09-13
  • 打赏
  • 举报
回复
关注。。。
singnet 2004-09-13
  • 打赏
  • 举报
回复
我把csdn的代码拷进去也不行
<script>
<xsl:attribute name="src">http://www.csdn.net/adv/expert_ad2.asp?id=<xsl:value-of select="Topic/Issue/TopicId" />&roomid=<xsl:value-of select="Topic/Issue/RoomId" /></xsl:attribute>

</script>

8,906

社区成员

发帖
与我相关
我的任务
社区描述
XML/XSL相关问题讨论专区
社区管理员
  • XML/XSL社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧