Hi i have a program that transforms my xml files with the stylesheets i applied and saves them as html file.

i also used cooktop to create my stylesheet as well as to see the result...

my problem is, that when i transform it, i have a <hr />tag, the transformation removes the / at the end, and then when using it for the other things that its meant to do, it complains that it doesnt have closing tags.

i have with cooktop changed the engine which it uses to transform it, and then it creates the respective closing tag, how would i go about to changing it in c#

or how would i go about this?


i resolved this by adding this line of coe to my stylesheet

<xsl:output method="xml" />