Is there a way to replace new line with br tag in XSLT 1.0?
Tried 




but still can not match new line.
Here is my code:
<xsl:template name="HEADLINE">
<xsl:if test="$gHeadline">
<xsl:element name="lnv:HEADLINE">
<xsl:element name="lnvxe:hl1">
<xsl:variable name="vString">
<xsl:choose>
<xsl:when test="contains($gHeadlineCaps,'ENTERT@INMENT.COM')">
<xsl:variable name="vLeftString" select="substring-before($gHeadline,'@')"/>
<xsl:variable name="vRightString" select="substring-after($gHeadline,'@')"/>
<xsl:value-of select="concat($vLeftString,' @',$vRightString)"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$gHeadline" />
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:value-of select="translate($vString,'
','<br/>')"/>
</xsl:element>
</xsl:element>
</xsl:if>
</xsl:template>
Here is the input:
AGONY
Train derails, dozens hurt in smoky chaos
Mayor, gov no-shows after latest MTA fail
EXCLUSIVE Motorman tells News his story
DON'T CARE
PREZ 'OK' AS HEALTH BILL FLOPS
MET LOSS
PITCHER DEAD AT 51
This is the desired output:
AGONY<br/>
Train derails, dozens hurt in smoky chaos<br/>
Mayor, gov no-shows after latest MTA fail<br/>
EXCLUSIVE Motorman tells News his story<br/>
<br/>
DON'T CARE<br/>
PREZ 'OK' AS HEALTH BILL FLOPS<br/>
<br/>
MET LOSS<br/>
PITCHER DEAD AT 51<br/>
Thanks!