title: XSLT to join elements bpel
body: <p>I have an input </p>
  
  <pre><code>&lt;features&gt;
  &lt;feature name="Television" featureSpecID="2000"&gt;
      &lt;displayName&gt;TV&lt;/displayName&gt;
      &lt;parameters&gt;
          &lt;parameter name="Remote" &gt;
          &lt;/parameter&gt;
          &lt;parameter name="Cable Box"&gt;
          &lt;/parameter&gt;
          &lt;parameter name="Carrier"/&gt;
      &lt;/parameter&gt;
  &lt;/parameters&gt;
  </code></pre>
  
  <p>
    </p>
  
  <p>where I should convert as</p>
  
  <pre><code>&lt;productname&gt;Remote;Cable Box;Carrier&lt;/productname&gt;
  </code></pre>
  
  <p>I tried my code by doing for-each of parameter </p>
  
  <pre><code>&lt;xsl:if test='count(tns:parameters/tns:parameter) &gt; "0"'&gt;
      &lt;xsl:for-each select="tns:parameters/tns:parameter"&gt;
         &lt;productname&gt;
           &lt;xsl:value-of select='concat(@name,";")'/&gt;
          &lt;/productname&gt;
      &lt;/xsl:for-each&gt;
   &lt;/xsl:if&gt;
  </code></pre>