Hello

"Sreenivasan N." a écrit :
> 
> Hi all
> 
> I have got some word documents, pdf documents, excel documents which are
> there in doc, pdf, xls folders i would like to define a pipeline which can
> open the document in cocoon. Does <map:read> slove the problem? What mime
> type i should define for it example "application/msword "
> 
> Thanks in advance
> Regards
> Sreenivasan.

just try :

<map:match pattern="ressources-*.doc">
        <map:read mime-type="application/msword" src="Ressources/{1}.doc"/>
</map:match>
<map:match pattern="ressources-*.xls">
        <map:read mime-type="application/vnd.ms-excel"
src="Ressources/{1}.xls"/>
</map:match>

Regards

Olivier Guckert

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

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

Reply via email to