在xhtml标记中是属性xmlns:xsd="http://www.w3.org/2001/XMLSchema“,我尝试使用下面的代码
<xhtml:head>
<xforms:model>
<xforms:function signature="fn($a as xsd:string) as xsd:string">
<xforms:return value="concat($a,$a,$a)"/>
</xforms:function>
</xforms:model>
</xhtml:head>如何正确使用此函数
<xhtml:body>
<xforms:output ref="fn('bla')"/>
</xhtml:body>可以看到字符串"blablabla“instread的错误?
谢谢
发布于 2014-01-23 13:46:19
<xforms:function>元素是一个新的Orbeon 2.0元素,它还没有在XForms表单中实现。这就解释了为什么你的例子不起作用。
https://stackoverflow.com/questions/20566530
复制相似问题