Adriano Smith wrote:

is it possible to use something like this in the sitemap?

<map:match pattern="*oly.html">
<map:generate src="http://xxxxx.com/yyy_oly.html"/>
<map:serialize type="wml"/>
</map:match>

im trying to convert the html page (in the url) to a wml page.
However on execution i get the error:

Content is not allowed in prolog.

org.apache.cocoon.ProcessingException: Failed to execute pipeline.: 
http://xxxxx.com/yyy.html:1:1:org.xml.sax.SAXParseException: Content is not allowed in 
prolog.

what does this mean?




This probably means that you have a source that doesn't provide valid XML.
Use the HTMLGenerator which can convert HTML into valid XML. IIRC it is in its own block.


--
Reinhard


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to