title: How to add spaces between nodes when using string() on a tree in XPath
body: <p>I have a HTML tree where I use the <code>'string()'</code> query on the root to get all the text from the nodes. </p>
  
  <p>However, I'd like to add a space between each nodes.</p>
  
  <p>I.e. </p>
  
  <p><code>string()</code> on <code>'&lt;root&gt;&lt;div&gt;abc&lt;/div&gt;&lt;div&gt;def&lt;/div&gt;&lt;/root&gt;'</code> <em>will</em> become <code>'abcdef'</code></p>
  
  <p><code>string()</code> on <code>'&lt;root&gt;&lt;div&gt;abc&lt;/div&gt;&lt;div&gt;def&lt;/div&gt;&lt;/root&gt;'</code> <em>should</em> become <code>'abc def '</code></p>