first of all sorry im adding it as an answer it just a bit long (more than 600 chars ) ....
ok so my xml looks like this
<father>
<object>
<attribute att.type="type">
<another-att>
<paragraph>
<text textvalue="first "/>
</paragraph>
<paragraph>
<text textvalue="second"/>
</paragraph>
<paragraph>
<text textvalue="third "/>
</paragraph>
</another-att>
</attribute>
</object>
<model>
<attribute att.type="type">
<another-att>
<paragraph>
<text textvalue="fourth "/>
</paragraph>
<paragraph>
<text textvalue="fifth"/>
</paragraph>
<paragraph>
<text textvalue="sixth"/>
</paragraph>
</another-att>
</attribute>
</model>
</father>
and my xsl looks like this
<xsl:template match="//attribute[@att.type='type']/another-att">
<another-att>
<xsl:for-each select="//text">
<xsl:if test="position() != 0">,</xsl:if>
<xsl:value-of select="@textvalue"/>
</xsl:for-each>
</another-att>
</xsl:template>
and the problem is im getting
2 nodes of with the values of first , second , third , fourth , fifth , sixth