Ravindar, Biztalk Developer and Administrator

Just another BizTalk blog

Concatenate repeating node with a delimiter

<xsl:element name="ns0:Dummy">
     <xsl:for-each select="/s0:BankPartyProductChangedEvent/s0:DataArea/s0:PartyList/s0:Party/s0:DataProtectionList/s0:DataProtection">
         <xsl:if test="position()>1">
             <xsl:value-of select="','"/>
         </xsl:if>
         <xsl:value-of select="s0:DataTypeCode/text()"/>
      </xsl:for-each>
<xsl:element>

Advertisements

May 23, 2017 Posted by | Uncategorized | Leave a comment