+ -
当前位置:首页 → 问答吧 → xsl中的地址参数怎么写?

xsl中的地址参数怎么写?

时间:2010-09-23

来源:互联网

对xsl完全不懂,所以题目可能有点不知所云,情况是这样的:
在cublog的模板中加入新浪围脖的围脖秀,新浪的代码是这样的
HTML code

<iframe width="200" height="300" class="share_self"  frameborder="0" scrolling="no" src="http://service.t.sina.com.cn/widget/WeiboShow.php?width=200&height=300&fansRow=1&ptype=1&speed=0&skin=1&isTitle=0&noborder=1&isWeibo=1&isFans=0&uid=1647855082&verifier=6b8ce55c"></iframe>


但是在插入模板的xsl文件中后出现这样的提示:
“XML解析错误:未组织好 

并且在地址http://service.t.sina.com.cn/widget/WeiboShow.php?width=200&height=300&……中height=300的那个等号下面有个^号,估计是说这里错了,开始以为是iframe的问题,就改成了下面这样:
HTML code

        <xsl:element name="iframe">
    <xsl:attribute name="width">200</xsl:attribute>
    <xsl:attribute name="height">300</xsl:attribute>
    <xsl:attribute name="class">share_self</xsl:attribute>
    <xsl:attribute name="frameborder">0</xsl:attribute>
    <xsl:attribute name="scrolling">no</xsl:attribute>
    <xsl:attribute name="src">http://service.t.sina.com.cn/widget/WeiboShow.php?width=200&height=300&fansRow=1&ptype=1&speed=0&skin=1&isTitle=0&noborder=1&isWeibo=1&isFans=0&uid=1647855082&verifier=6b8ce55c"</xsl:attribute>
    </xsl:element>


结果还是同样的错误提示,没头绪,怎么回事呢?

作者: daizhe   发布时间: 2010-09-23

&->>&amp;

作者: kkjjww   发布时间: 2010-09-23