title: Values empty on CSV file
body: <p>I am able to generate CSV file from XML file using XSLT, but the only header of XML file header is only showing on CSV file. The Values are not showing up.</p>
  
  <p><strong>Here is my java code:-</strong></p>
  
  <pre><code>import java.io.File;
  
  import javax.xml.parsers.DocumentBuilder;
  import javax.xml.parsers.DocumentBuilderFactory;
  import javax.xml.transform.Result;
  import javax.xml.transform.Source;
  import javax.xml.transform.Transformer;
  import javax.xml.transform.TransformerFactory;
  import javax.xml.transform.dom.DOMSource;
  import javax.xml.transform.stream.StreamResult;
  import javax.xml.transform.stream.StreamSource;
  
  import org.w3c.dom.Document;
  
  public class xml2csv {
       public static void main() throws Exception {
              File stylesheet = new File("C:/Users/Admin/Desktop/out.xslt");
              File xmlSource = new File("C:/Users/Admin/Desktop/out.xml");
  
              DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
              DocumentBuilder builder = factory.newDocumentBuilder();
              Document document = builder.parse(xmlSource);
  
              StreamSource stylesource = new StreamSource(stylesheet);
              Transformer transformer = TransformerFactory.newInstance().newTransformer(stylesource);
              Source source = new DOMSource(document);
              Result outputTarget = new StreamResult(new File("C:/Users/Admin/Desktop/out.csv"));
              transformer.transform(source, outputTarget);
          }
  }
  </code></pre>
  
  <p><strong>the XML file:-</strong></p>
  
  <pre><code>&lt;root&gt;
      &lt;header&gt;Symbol&lt;/header&gt;
      &lt;row&gt;NIFTY 50&lt;/row&gt;
      &lt;row&gt;LUPIN&lt;/row&gt;
      &lt;header&gt;Open&lt;/header&gt;
      &lt;row&gt;9,670.35&lt;/row&gt;
      &lt;row&gt;1,082.90&lt;/row&gt;
      &lt;header&gt;High&lt;/header&gt;
      &lt;row&gt;9,684.25&lt;/row&gt;
      &lt;row&gt;1,137.00&lt;/row&gt;
  &lt;/root&gt;
  </code></pre>
  
  <p><strong>XSLT file:-</strong></p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" &gt;
      &lt;xsl:output method="text" omit-xml-declaration="yes" indent="no"/&gt;
      &lt;xsl:template match="/"&gt;
          Symbol,Open,High
          &lt;xsl:for-each select="//header"&gt;
              &lt;xsl:value-of select="concat(Symbol, ',', Open, ',', High)"/&gt;
          &lt;/xsl:for-each&gt;
      &lt;/xsl:template&gt;
  &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p>So, I am getting only header of XML using this XSLT, where am I going wrong? </p>