Ok I have this small problem which is really doing my head in - I have an address which is set up basically like:
<ADDRESS>TEST,TEST,TEST</ADDRESS>
Now all I want to do is replace the comma with <BR/>
My code so far is:
<xsl:for-each select="ADDRESS/ADDRESSLINE[. != '']">
<xsl:value-of select="."/><BR/>
</xsl:for-each>
Is there any expression I can use?
<xsl:value-of select="expression(.,',','<BR/>')"/>
<BR/>
Please help,
Richard
<ADDRESS>TEST,TEST,TEST</ADDRESS>
Now all I want to do is replace the comma with <BR/>
My code so far is:
<xsl:for-each select="ADDRESS/ADDRESSLINE[. != '']">
<xsl:value-of select="."/><BR/>
</xsl:for-each>
Is there any expression I can use?
<xsl:value-of select="expression(.,',','<BR/>')"/>
<BR/>
Please help,
Richard