title: How to apply the XPath function 'substring-after'
body: <p>What is the XPath expression that I would use to get the string following 'HarryPotter:' for each book.</p>
  
  <p>ie. Given this XML:</p>
  
  <pre><code>&lt;bookstore&gt;
  &lt;book&gt;
    HarryPotter:Chamber of Secrets 
  &lt;/book&gt;
  &lt;book&gt;
    HarryPotter:Prisoners in Azkabahn 
  &lt;/book&gt;
  &lt;/bookstore&gt;
  </code></pre>
  
  <p>I would get back:</p>
  
  <pre><code>Chamber of Secrets
  Prisoners in Azkabahn 
  </code></pre>
  
  <p>I have tried something like this:</p>
  
  <pre><code>/bookstore/book/text()[substring-after(. , 'HarryPotter:')] 
  </code></pre>
  
  <p>I think my syntax is incorrect...</p>