HI all,
I have a requirement
let $req-body := xdmp:get-request-body()
return
if ($req-body is a valid xml) then
invoke xmlprocessor.xqy
else
invoke binaryprocessor.xqy
what is the best way to validate, if the request body is an xml or
binary(non-xml) content??
Thanks in advance.
Raghu
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
