title: XPath: How to grab multiple strings when doing a string, substring, or another function on text() nodes
body: <p>I want to use XPath to grab a list of modified strings via the text() function</p>
  
  <p><strong>Example code:</strong></p>
  
  <pre><code> &lt;div&gt;
          &lt;p&gt;
          Monday 2/4/13
          &lt;/p&gt;
          &lt;p&gt;
          Tuesday 2/5/13
          &lt;/p&gt;
   &lt;/div&gt;
  </code></pre>
  
  <p>Now in this example, if I wanted to grab an array of the text between the <p> </p> markups, I'd write an expression such as <em>.//div/p/text()</em>. However, if I wanted to only grab the dates, I could use a substring-after function, but the code <em>substring-after(.//div/p/text(), ' ')</em> only grabs one element. How does I write this expression to grab all the text elements?</p>