Hi,
According to your description, my understanding is that you want to make <br> html tag display as line break in DataView web part using XSLT.
I suggest you can create a variable wit <br/> tag firstly, then you can reference the variable to display line break in DataView web part.
<xsl:variable name="break"><br></xsl:variable> <xsl:value-of disable-output-escaping="yes" select=" concat(substring(@Title,1,5),$break,'Another String')" />
Here is a similiar thread for your reference:
Thanks
Best Regards
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.
No comments:
Post a Comment