I have some problems with the doctype of a page.
I want to set the doctype for one xsp page different from the others. I want to have the frameset dtd on the frameset ( of course).
I have no luck adding the doctype to the the frameset. The loose.dtd is applied to all pages. And it is even applied twice.
Does anyone have a clue?
I have two entries in my sitemap.xmap
<map:match pattern=""> <map:generate src="xsp/index.xsp" type="serverpages"/> <map:transform type="i18n"/> <map:transform src="xsl/index.xsl"/> <map:serialize name="frame"/> </map:match>
<map:match pattern="xsp/*"> <map:generate src="xsp/{1}.xsp" type="serverpages"/> <map:transform type="i18n"/> <map:transform src="xsl/{1}.xsl"/> <map:serialize name="html"/> </map:match>
And two serializers
<map:serializer logger="sitemap.serializer.html" mime-type="text/html" name="html" pool-grow="4" pool-max="32" pool-min="4" src="org.apache.cocoon.serialization.HTMLSerializer">
<buffer-size>1024</buffer-size>
<doctype-public>-//W3C//DTD HTML 4.01 Transitional//EN</doctype-public>
<doctype-system>http://www.w3.org/TR/html4/loose.dtd</doctype-system>
<encoding>UTF-8</encoding>
<indent>1</indent>
<omit-xml-declaration>no</omit-xml-declaration>
</map:serializer>
<map:serializer logger="sitemap.serializer.html" mime-type="text/html" name="frame" pool-grow="4" pool-max="32" pool-min="4" src="org.apache.cocoon.serialization.HTMLSerializer">
<buffer-size>1024</buffer-size>
<doctype-public>-//W3C//DTD HTML 4.01 Frameset//EN</doctype-public>
<doctype-system>http://www.w3.org/TR/html4/frameset.dtd</doctype-system>
<encoding>UTF-8</encoding>
<indent>1</indent>
<omit-xml-declaration>no</omit-xml-declaration>
</map:serializer>
Magne
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]