Hi Mario
I am not shure if this helps in Your case (using the static HTML-
exporter).
The xml prolog can be avoided by setting a parameter of the xhtml
serializer.
in the publication-sitemap.xmap I use the following code:
<map:components>
<map:serializers default="html">
<map:serializer name="xhtml" logger="sitemap.serializer.xhtml"
mime-type="text/html; charset=utf-8" pool-grow="2" pool-max="64" pool-
min="2" src="org.apache.cocoon.serialization.XMLSerializer">
<doctype-public>-//W3C//DTD XHTML 1.0 Strict//EN</doctype-
public>
<doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-
strict.dtd</doctype-system>
<encoding>UTF-8</encoding>
<omit-xml-declaration>yes</omit-xml-declaration>
</map:serializer>
</map:serializers>
</map:components>
The xml prolog is avoided by: <omit-xml-declaration>yes</omit-xml-
declaration>
HTH.
Jürgen
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]