xsl 转换中 when 子句中 dvm 的正确语法是什么?

问题描述

我正在努力在 XSLT 转换文件中的 when 子句中管理 DVM:

<xsl:for-each >
  <xsl:choose>
    <xsl:when test='dvm:lookupValue("mapping.dvm","MansioneId",bpws:getvariableData("/ns1:EBM_PersonnelInfo/ns1:Employee/ns1:Role/ns2:Job/ns2:JobID"),"Flag","0") = "Y"'>

Bpel 失败并出现此错误

<bpelFault><faultType>0</faultType><subLanguageExecutionFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>XPath expression Failed to execute. An error occurs while processing the XPath expression; the expression is ora:doXSLTransformForDoc('xsl/Transformation.xsl',$inputvariable.payload). The XPath expression Failed to execute; the reason was: javax.xml.transform.TransformerException: oramds:/deployed-composites/default/PersonnelInfo4.9/xsl/Transformation.xsl&lt;Line 161,Column 28>: XML-22015: (Error) Function 'getvariableData' not found.. Check the detailed root cause described in the exception message text and verify that the XPath query is correct. </summary></part><part name="code"><code>XPathExecutionError</code></part></subLanguageExecutionFault></bpelFault>

是否不支持 getvariableData 函数

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)