Ok)
Thank you!

2014-06-05 20:03 GMT+04:00 Michael Blakeley <[email protected]>:

> If you just want a lookup based on the server mimetypes table and the URI
> extension, try https://docs.marklogic.com/xdmp:uri-content-type
>
> xdmp:uri-content-type("example.doc")
> => application/msword
>
> If you want something more like http://linux.die.net/man/1/file you'll
> have to build it yourself. For simple detection schemes, you could use
> https://docs.marklogic.com/xdmp:subbinary to peek at specific byte ranges
> inside the binary node.
>
> -- Mike
>
> On 5 Jun 2014, at 06:47 , Liubov Efremova <[email protected]>
> wrote:
>
> > Hello!
> > Can you give me the advice how to detect the mime type of the binary
> content stored in marklogic?
> >
> > --
> > Kind regards,
> > Liubov Efremova.
> > _______________________________________________
> > General mailing list
> > [email protected]
> > http://developer.marklogic.com/mailman/listinfo/general
>
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general
>



-- 
Kind regards,
Liubov Efremova.
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to