IBM WebSphere DataPower Community Forum IBM Webspere DataPower XI50
September 06, 2010, 07:13:03 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: IBM WebSphere DataPower SOA Appliance Forum - Just Launched come share your knowledge!!! These forums will be a great place to build a community. This site is not associated with IBM.
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: exslt:node-set()  (Read 1745 times)
everett@nationwide.com
Newbie
*
Offline Offline

Posts: 1


View Profile Email
« 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>


 
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  



Powered by SMF 1.1.10 | SMF © 2006-2007, Simple Machines LLC
This Site is not associated with IBM