I'm new to XSLT, and I'm having a hard time inserting a line break between two sentences. I know similar questions have been asked in the forum but none of the solutions is working for me, I'm sorry if I'm breaking any community rule.
So basically I have something like this:
<xsl:attribute name="messageText">
<xsl:value-of select="eligInformation/@messageText02"/>
<br />
<xsl:value-of select="eligInformation/@messageText03"/>
</xsl:attribute>
But the <br />
or any of its variants (<br/>, <br></br>
, etc) is not working, the .NET parser doesn't seem to like it and it throws the following error: "An item of type 'Element' cannot be constructed within a node of type 'Attribute'".
I've also tried with all sort of alternatives such as:
<xsl:text>
</xsl:text>
<xsl:text> </xsl:text>
<xsl:text>
</xsl:text>
etc., but in those cases, even though I don't get any errors, both messages simply appear in the same row.