XSLT br tag with MSXML
Nicolas Galler | February 15, 2007I used the MSXML transformNodeToObject method to apply a stylesheet to form an HTML document. I had set xsl:output to html. The <br/> tags in the stylesheet did not go through correctly though – apparently MSXML would automatically transform that as <br> then fail because it wasn’t closed properly. Setting the xsl:output method to xml fixed the problem. The XSLT processor object in Firefox did not have that issue, by the way.
<xsl:output method="xml"/>





