I am using XSLT to reformat some XML, to (a) turn elements into attributes and (b) sort everything alphabetically. It works EXCEPT the attributes are all on one line. I understand this is usually preferable but in this case I need each attribute to appear on a separate line when I open the file in Notepad++ (or whatever).
I can add XML-style linefeeds with xsl:text, but that's not what I want. The value-of separator attribute doesn't work (this is under .NET's XSL library). I want 'non-XML' line feeds eg. the kind that a non-XML-aware editor will interpret to display each attribute on its own line. Any ideas?