I am migrating from xalan-java-1 to xalan 2.4.1. I have a stylesheet that
worked in xalan-java-1; but in 2.4.1 it produces this header;

<?xml version="1.0" encoding="UTF-8"?>

instead of:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional/EN" >

The stylesheet is declared as follows:

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version
="1.0">
      <xsl:import href="common_parameters.xsl"/>
      <xsl:import href="common_css.xsl"/>
      <xsl:import href="common_templates.xsl"/>

      <xsl:output method="HTML" indent="yes" doctype-public="-//W3C//DTD
HTML 4.01 Transitional//EN" encoding="UTF-8"/>

Does anyone know why the transformation is not recognizing the output as
html?

Thanks.


Keith...

Reply via email to