This is a sample of the XML I want to transform:
<dsQueryResponse>
<Rows>
<Row Contacts="#111;#Smith, John;#112;#Sue, Mary;#113;#Jones, Rick" />
<Row Contacts="#114;#Lee, Thomas;#115;#Richards, Kate" />
</Rows>
</dsQueryResponse>
Using XSLT, how do I split this up so that it the output looks like:
<div>
<span>#111;#Smith, John</span>
<span>#112;#Sue, Mary</span>
<span>#113;#Jones, Rick</span>
</div>
<div>
<span>#114;#Lee, Thomas</span>
<span>#115;#Richards, Kate</span>
</div>
The ;
being used as a delimiter while having each set contain it is what is confusing me.
Edit:
Yes, I am aware of this post.
I have tried it but it is not splitting the way I need it to.;
is a delimiter and is also part of what is being split.