以文本方式查看主题

-  中文XML论坛 - 专业的XML技术讨论区  (http://bbs.xml.org.cn/index.asp)
--  『 XSL/XSLT/XSL-FO/CSS 』  (http://bbs.xml.org.cn/list.asp?boardid=8)
----  a sequenc of more than one item is not allowed as the fisrt argument of contains() 错误  (http://bbs.xml.org.cn/dispbbs.asp?boardid=8&rootid=&id=75844)


--  作者:julysdu
--  发布时间:7/2/2009 4:35:00 PM

--  a sequenc of more than one item is not allowed as the fisrt argument of contains() 错误
运行时,报这个错误a sequenc of more than one item is not allowed as the fisrt argument of contains()

请指教
原因是下面这句话
constraint="(text()='counter') and (contains(following-sibling::text(),'=')
谢谢大家


--  作者:Qr
--  发布时间:7/2/2009 5:14:00 PM

--  
following-sibling::text()这个contains()的参数用问题,先确认得到正确结果再做为其参数。
--  作者:julysdu
--  发布时间:7/2/2009 5:26:00 PM

--  
以下是引用Qr在2009-7-2 17:14:00的发言:
following-sibling::text()这个contains()的参数用问题,先确认得到正确结果再做为其参数。

恩,这个参数在程序中有多个

谢谢


W 3 C h i n a ( since 2003 ) 旗 下 站 点
苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
93.750ms