on 11-28-2018 7:32 AM
Hi Experts,
In my scenario package, I have created For-each Processing atom. I'm looking for the For-each atom Indexing value.
For Example: For-each Processing atom executed 4 time's, then, I need a indexing value 1 for first execution, indexing value 2 for second execution,indexing value 3 for third execution, and indexing value 4 for fourth execution.
Can I get the For-each Processing atom index value in B1IF?
Thanks,
Chenna
Hi,
I have resolved the issue, below is solution.
<xsl:param name="length" select="//vpf:Msg/vpf:Body/vpf:Payload[@Role='C' and @id='atom1']/vpf:http.header/vpf:http.header.info[@id='X-Pages']/@value"></xsl:param>
<xsl:param name="i" select="1"></xsl:param>
<page>
<xsl:value-of select="$i"></xsl:value-of>
</page>
<xsl:if test="$length > 1">
<xsl:call-template name="transform">
<xsl:with-param name="length" select="$length - 1"></xsl:with-param>
<xsl:with-param name="i" select="$i + 1"></xsl:with-param>
</xsl:call-template>
</xsl:if>
then, I change the for-each atom configuration
now I can access the dynamic page value into another atom like
<xsl:variable name="dynamicPage" select="//page"></xsl:variable>
with following this steps, I can able to get for-each atom indexing value.
Thanks,
Chenna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.