I have an XML and an appropriate XSL that I need to provide to a Java application. This Java application is expected to generate a HTML page after XSL transformation. This is not my Java application so I do not know which XSL processor it is using internally.
The problem is that it completely ignores my xsl:output directive; thus, instead of generating HTML, it generates plain XML.
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html" omit-xml-declaration="yes" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" indent="yes" />
Do you have any suggestions on what to do? Do you have a workaround?
Thanks.