Hi Florent,

xdmp:get-request-field returns the named request field as a string.

I think uploading a binary file will still return string* and the uploaded
file will render according to mime-type like its mentioned in API example

Thanks,
Mihir
----------------------------------------------------------------------

>
> Message: 1
> Date: Tue, 11 Sep 2012 18:14:05 +0100 (BST)
> From: Florent Georges <[email protected]>
> Subject: [MarkLogic Dev General] xdmp:get-request-field documentation
> To: MarkLogic General ML <[email protected]>
> Message-ID:
>         <[email protected]>
> Content-Type: text/plain; charset=iso-8859-1
>
> ? Hi,
>
> ? The documentation for xdmp:get-request-field[1] says it returns any
> sequence of strings.? But it can also returns a binary() right?? For
> instance when uploading a binary file.? Am I right?
>
> ? Regards,
>
> --
> Florent Georges
> http://fgeorges.org/
> http://h2oconsulting.be/
>
> [1]
> http://docs.marklogic.com/5.0doc/docapp.xqy#display.xqy?function=xdmp:get-request-field
>
>
>
>
> End of General Digest, Vol 99, Issue 16
> ***************************************
>
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to