[MarkLogic Dev General] Convert results

Tony Mariella ajmariella at hotmail.com
Thu May 21 06:26:49 PDT 2009


I have a ML Query that gives me results as xs:string

 

I would like to use xs:normalizedString to strip out all the carriage returns and spaces

from the result. I keep getting Invalid cast error.

 

Any ideas ?

 

query...

 

let $banner := $docs/entry/bannerText

...

 

let $banner := xs:normalizedString($docs/entry/bannerText)

give me the error.

 

Tony Mariella

Raytheon Company

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://xqzone.marklogic.com/pipermail/general/attachments/20090521/52c467ae/attachment.html


More information about the General mailing list