Vadim,

Thankyou ... works super now :)

Paul


Vadim Gritsenko wrote:
>>From: Paul Gilligan [mailto:[EMAIL PROTECTED]]
>>
>>In my sitemap I have setup :
>>
>>                 <map:match pattern="*.txt">
>>                     <map:generate src="{1}.xml"
> 
> mime-type="text/plain"/>
> 
> File generator does not support mime-type attribute. Serializers do.
> 
> 
>>                     <map:transform src="system/docbook2txt.xsl"/>
>>                     <map:serialize type="text"/>
> 
> 
> Try:
> 
>  <map:serialize type="text" mime-type="text/plain"/>
> 
> Vadim
> 
> 
> 
>>                 </map:match>
>>
>>And when I do:
>>
>>http://www.oyap.net/cocoon/oyap/index.txt
>>
>>The browser does not recognise the mime of text/plain, which is
> 
> strange
> 
>>because it can handle text files normally.
>>
>>So how do we get the response from cocoon correct here?
>>
>>Paul
>>
>>
>>---------------------------------------------------------------------
>>Please check that your question has not already been answered in the
>>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>>
>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>For additional commands, e-mail: <[EMAIL PROTECTED]>
> 
> 
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to