I'm currently using the code below to style some XML
and my stylesheets output method is set to HTML, and it's styling in IE fine, but in Firefox I'm getting the following back:
var processor = new XSLTProcessor();
var xmlDom = processor.transformToDocument(xmlDoc);
var serializer = new XMLSerializer();
output = serializer.serializeToString(xmlDom);
it's not formatted as html at all. Please, any help would be greatly appreciated.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3c.org/tr/html4/strict.dtd">
<transformiix:result xmlns:transformiix="http://www.mozilla.org/TransforMiix">Upcoming Events Thursday, 22 April randal's birthday Please bring cake Thursday, 13 May Ascension Sunday, 15 August Assumption Day Some description</transformiix:result>
Thank you so much.