Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Record Count Issue › Re: Record Count Issue
December 16, 2008 at 12:08 AM
#21400
Hi!
Connect a scripting-functoid between subRecord2 and the target-node where you need the count-value. Configure functoid script, select “Inline Xslt Call Template” and paste the following code:
<xsl:template name=”MyCountTemplate”>
<xsl:param name=”inRecord” />
<!– Below, the name of the target-node –>
<xsl:element name=”Field12″>
<xsl:value-of select=”count(./*)” />
</xsl:element>
</xsl:template>
//Niklas – Connecta AB