cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Cocoon and <xsl:output>
Date Fri, 13 Jan 2006 17:02:56 GMT
Dear List,

I have the following code in stylesheets/panelset2html.xsl:

<xsl:output method="html" version="4.01"
            doctype-public="-//W3C//DTD HTML 4.01 Frameset//EN"

and the following in sitemap.xmap:

<map:match pattern="">
      <map:generate src="views/index.xml" type="jx">
            <map:parameter name="lenient-xpath" value="true"/>
      <map:transform src="stylesheets/panelset2html.xsl"/>
      <map:serialize type="html"/>

Based on this, I would expect the resulting HTML to containing the
following DOCTYPE:

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

Instead, I am getting:

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

Which MSIE doesn't seem to like in conjunction with the <frameset> element.

As far as I can tell, Cocoon is ignoring the <xsl:output>, and using
whatever is specified within the HTML Serializer configuration.

Is there a setting I can change to get Cocoon to respect the <xsl:output>,
or should I just configure a seperate instance of HTMLSerializer with the
appropriate doctype-public  and doctype-system values and use that instead
of the default serializer for frameset documents?


It's better to be hated for who you are
than loved for who you are not

Ian D. Stewart
Appl Dev Analyst-Advisory, DCS Automation
JPMorganChase Global Technology Infrastructure
Phone: (614) 244-2564
Pager: (888) 260-0078

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message