I have been trying to come up with a template on transforming this:
<text>Smith, John / Smith, Dina / Smith, Susan</text>
into:
<rec>
<RecNo>1</RecNo>
<name>Smith, John</name>
</rec>
<rec>
<RecNo>2</RecNo>
<name>Smith, Dina</name>
</rec>
<rec>
<RecNo>3</RecNo>
<name>Smith, Susan</name>
</rec>
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 How to split strings, but I can't achieve what I needed. Thanks in advance for the help.