[MarkLogic Dev General] cts.search v cts:search

2015-03-03 Thread Steiner, David J. (LNG-DAY)
I’m trying to implement a search in javascript. In xquery, with cts:search you can specify an element to be searched and returned, such as: cts:search(//element. The javascript cts.search doesn’t seem to have this ability. Is there a way to affect this in javascript? I really don’t want the

Re: [MarkLogic Dev General] cts.search v cts:search

2015-03-03 Thread Danny Sokolsky
(x.xpath(.//word)); }; res; -Danny -Original Message- From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Michael Blakeley Sent: Tuesday, March 03, 2015 12:46 PM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General