XSL中IFRAME怎么传递参数?

fengdu 2002-04-04 06:07:55
有下面一段xsl代码。是<IFRAME>标签。遗憾的是,加入这段代码后,我能正常显示回帖子的ASP的IFrame。但其接后的代码均无法显示了!


<center>
<xsl:element name="iframe">
<xsl:attribute name="name">xmlreply</xsl:attribute>
<xsl:attribute name="marginwidth">0</xsl:attribute>
<xsl:attribute name="marginheight">0</xsl:attribute>
<xsl:attribute name="frameborder">0</xsl:attribute>
<xsl:attribute name="scrolling">no</xsl:attribute>
<xsl:attribute name="width">95%</xsl:attribute>
<xsl:attribute name="height">212</xsl:attribute>
<xsl:attribute name="src">../asp/reiframe.asp?topid=<xsl:value-of select="topbbs/topic/topicid"/></xsl:attribute>
</xsl:element>
</center>
...全文
26 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
Reve 2002-04-09
  • 打赏
  • 举报
回复
怎么搞的?
呵呵
cxhlq 2002-04-06
  • 打赏
  • 举报
回复
用<![CDATA[....]]>不行吗?
fengdu 2002-04-04
  • 打赏
  • 举报
回复
我倒。加的部分显示不出来。
&
#
160;
就是这个
fengdu 2002-04-04
  • 打赏
  • 举报
回复
我自己解决了。只要加上> 就OK啦!

我可以自己给自己分不?

<xsl:element name="IFRAME">
<xsl:attribute name="name">XmlReply</xsl:attribute>
<xsl:attribute name="marginWidth">0</xsl:attribute>
<xsl:attribute name="marginHeight">0</xsl:attribute>
<xsl:attribute name="frameBorder">0</xsl:attribute>
<xsl:attribute name="SCROLLING">no</xsl:attribute>
<xsl:attribute name="width">95%</xsl:attribute>
<xsl:attribute name="height">212</xsl:attribute>
<xsl:attribute name="src">../asp/reiframe.asp?topid=<xsl:value-of select="topbbs/topic/topicid"/>
</xsl:attribute> 
</xsl:element>

8,906

社区成员

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

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