title: XSLT: Template to split strings based on a delimiter
body: <p>I have been trying to come up with a template on transforming this:</p>
  
  <pre><code>&lt;text&gt;Smith, John / Smith, Dina / Smith, Susan&lt;/text&gt;
  </code></pre>
  
  <p>into:</p>
  
  <pre><code>&lt;rec&gt;
      &lt;RecNo&gt;1&lt;/RecNo&gt;
      &lt;name&gt;Smith, John&lt;/name&gt;
  &lt;/rec&gt;
  &lt;rec&gt;
      &lt;RecNo&gt;2&lt;/RecNo&gt;
      &lt;name&gt;Smith, Dina&lt;/name&gt;
  &lt;/rec&gt;
  &lt;rec&gt;
      &lt;RecNo&gt;3&lt;/RecNo&gt;
      &lt;name&gt;Smith, Susan&lt;/name&gt;
  &lt;/rec&gt;
  </code></pre>
  
  <p>I am new to XSLT and I have been struggling to come up with a template to achieve the needed result.  I have tried modifying the template here <a href="https://stackoverflow.com/questions/4845660/xsl-how-to-split-strings" title="How to split strings">How to split strings</a>, but I can't achieve what I needed.  Thanks in advance for the help.</p>