I have the following code.
<xsl:template match="Rel/SPFMarkupFile">
<xsl:for-each select="./SPFReportItem">
<tr>
<td>X</td>
<td><xsl:value-of select='../../../SPFReportItem/ReportAttribute[@AttrName="Name"]/@AttrValue' /></td>
<td colspan="4" indent="yes">
<xsl:value-of select='ReportAttribute[@AttrName="SPFMarkupText"]/@AttrValue' />
</td>
<td><xsl:value-of select='ReportAttribute[@AttrName="CreationUser"]/@AttrValue' /></td>
<td colspan="2">N/A</td>
<td><xsl:value-of select='ReportAttribute[@AttrName="SPFMarkupType"]/@AttrValue' /></td>
</tr>
</xsl:for-each>
For <xsl:value-of select='ReportAttribute[@AttrName="SPFMarkupText"]/@AttrValue' />
The value for example could be test123~test2~test4~test1 The delimiter is ~
I want to split that value and put it into different rows. So I want it to be like
test123
test2
test4
test1
For the other columns, it will be the same values.
How can I achieve this?