Hi All,
I got the solution by myself. It needs to add some codes like the following when it has one more fields in root schema.
Thank you so much for your advice.
<xsl:template match="*[starts-with(local-name(),'SupplierPartNumber__')]">
<xsl:if test="SupplierInternalID != ''">
<xsl:element name="SupplierPartNumber">
<xsl:attribute name="actionCode">
<xsl:value-of select="'04'"/>
</xsl:attribute>
<xsl:apply-templates/>
</xsl:element>
</xsl:if>
</xsl:template>
<xsl:template match="SupplierPartNumber__1">
<xsl:if test="SupplierPartNumber__1/SupplierInternalID != ''">
<xsl:element name="Purchasing">
<xsl:attribute name="actionCode">
<xsl:value-of select="'04'"/>
</xsl:attribute>
<xsl:apply-templates/>
</xsl:element>
</xsl:if>
</xsl:template>
<xsl:template match="SupplierPartNumber__2">
<xsl:if test="SupplierPartNumber__2/SupplierInternalID != ''">
<xsl:element name="Purchasing">
<xsl:attribute name="actionCode">
<xsl:value-of select="'04'"/>
</xsl:attribute>
<xsl:apply-templates/>
</xsl:element>
</xsl:if>
</xsl:template>
Thanks and Regards,
Thiri