I need to remove all the carriage returns from the data. normalized-space() only removes the spaces.
Date: Thu, 21 May 2009 06:33:02 -0700 From: [email protected] Subject: Re: [MarkLogic Dev General] Convert results To: [email protected] Is there a reason you don't want to use the fn:normalize-space() function? From: Tony Mariella <[email protected]> To: [email protected] Sent: Thursday, May 21, 2009 9:26:49 AM Subject: [MarkLogic Dev General] Convert results 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
_______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
