title: xsl, xml Line break inside for-each loop
body: <p>I have something like the following xml tree:</p>
  
  <pre><code>&lt;block&gt;
     &lt;house&gt;
        &lt;room&gt;
           &lt;chair&gt;number1&lt;/chair&gt;
           &lt;chair&gt;number2&lt;/chair&gt;
           &lt;chair&gt;number3&lt;/chair&gt;
           &lt;chair&gt;number4&lt;/chair&gt;
        &lt;/room&gt;
        ...
     &lt;/house&gt;
     ...
  &lt;/block&gt;
  </code></pre>
  
  <p>I am trying to return the results (number1,...number4) using the loop below.</p>
  
  <pre><code>&lt;xsl:template match="g:block"&gt;
      &lt;xsl:for-each select="g:house"&gt;
          &lt;xsl:value-of select="g:room" /&gt;
      &lt;/xsl:for-each&gt;
  &lt;/xsl:template&gt; 
  </code></pre>
  
  <p>However, I get everything in a single row and I can't add line breaks somehow.</p>
  
  <pre><code>number1 number2 number3 number4
  </code></pre>
  
  <p>Is it possible to return each chair tag individually and then add /br to the output to get the following result?</p>
  
  <pre><code>number1
  number2
  number3
  number4
  </code></pre>
  
  <p>I also tried to go deeper by adding another loop for each chair, but then I cannot extract the value of each chair tag.</p>