title: include comma as data in xml to csv conversion using xslt
body: <p>Im trying to convert xml data to CSV. How do I add COMMA as data/text in CSV?<br>
  I couldn't use COMMA as separator since CSV is comma delimited file. Please help me to generate data as below: </p>
  
  <pre><code>rowId   data
  1   [xValue,yValue,zValue]
  2   [xValue,yValue,zValue]
  </code></pre>
  
  <p>Some sample data:</p>
  
  <pre><code>&lt;parent&gt;
  &lt;c1&gt;
  &lt;c2 x=1 y=2 z=3&gt;
  &lt;/c2&gt;
  &lt;/c1&gt;
  &lt;/parent&gt;
  </code></pre>
  
  <p>My present xsl extracting the xml data is :
  Adding a COMMA as separator or text is delimiting the data in file.
  Please suggest the right way. </p>
  
  <pre><code>            &lt;xsl:for-each select="childlevel1/childlevel2"&gt;
                  &lt;xsl:value-of select="concat('','[')"/&gt;
                  &lt;xsl:value-of select="@x"/&gt;
                  &lt;xsl:value-of select="@y"/&gt;
                  &lt;xsl:value-of select="@z"/&gt;
                  &lt;xsl:value-of select="concat(']','')"/&gt;
              &lt;/xsl:for-each&gt;
  </code></pre>