This code:

xquery version "1.0-ml";

let $url := "test,test1,test2"
return (
  fn:encode-for-uri($url),xdmp:url-encode($url)
)

returns

test%2Ctest1%2Ctest2
test,test1,test2

What is the intention of xdmp:url-encode or when would I use one versus the
other?

Thanks
Steve Spigarelli
_______________________________________________
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to