Thanks to
this page, I found an even shorter alternative. First, you can add an entity in your
DOCTYPE
section:
<!DOCTYPE stylesheet [
<!ENTITY newline "<xsl:text>
</xsl:text>"> ]>
You can then use this where you like in the document:
<div>&newline;</div>
That will get rendered as:
<div>
</div>