Let's say I have a line in an XML file like the following (derived from an HTML file):
<i>This is a nice poem<br/>It doesn't rhyme<br/>because right now<br/>I don't have time</i>
I am attempting to right an XSLT to split this string with the following output:
<stanza>
<line>This is a nice poem</line>
<line>It doesn't rhyme</line>
<line>because right now</line>
<line>I don't have time</line>
</stanza>
I have found numerous examples on how to split this if it were delimited with some sort of text, but because it it delimited with an actual element tag, I am really getting stuck. Anyone have any thoughts?