|
everett@nationwide.com
|
 |
« on: September 11, 2009, 02:03:09 PM » |
|
I am trying to use the exslt:node-set() function in datapower. The reference document says this function is supported but I am not getting the expected results. I am creating the Result Tree Fragment(RTF) by <xsl:variable name="counterdates"> <xsl:apply-templates select="$ctrlinearray"/> </xsl:variable>
then I try to count the number of number of nodes using the count function <aat2:nonSufficientFundsInPastYear> <xsl:value-of select="count(exsl:node-set($counterdates)/counterType/RI1)"/> </aat2:nonSufficientFundsInPastYear>
I made sure the value was in the RTF using the copy-of function <aat2:test> <xsl:copy-of select="$counterdates"/> </aat2:test>
and got the following results in the output node so I know it should work. Saxon and Xalan parsers give me the expected results. Has anybody run across this issue before?
<test> <counterType> <RI1>RI</RI1> </counterType> </test>
|