Hi Maria,

I think it is not a cocoon task. I mean, cocon can only send the file. How the browser handle the file depends on browser configuration for a given mime type.

Hint: Try to find a better mime type for a word document to allow the browser to handle it the file as you expect.

Best Regards,

Antonio Gallardo.

El 27/08/09 06:31, Maria Grigorieva escribió:
hello!
I need to view text document in browser. Not to download the file.

Now I have just reader:

<map:match pattern="**/*/article.doc">
   <map:read mime-type="application/text" src="publish/{2}/article.doc"/>
</map:match>




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org

Reply via email to