Hi Team,

I want to convert element value to string in marklogic but I got an error my 
code was here

let $DIR_URI := "/data/reports/"

for $file in xdmp:filesystem-directory($DIR_URI)
let $fileName :=  fn:concat($file//dir:pathname/text())
return $file//dir:pathname/text()

XDMP-ARGTYPE: (err:XPTY0004) fn:concat($file/descendant::dir:pathname/text()) 
-- arg0 is not of type xs:anyAtomicType?
Kindly do the needful as soon as possible. Thanks in advance

Thanks & Regards,
Siva

_______________________________________________
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to