You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 30, 2019. It is now read-only.
xquery version "1.0-ml";
let $myxml := <node>Queen Elizabeth celebrated her Diamond Jubilee in London this June. A thanksgiving service at St Paul's Cathedral where the ArchBishop of Canterbury paid tribute to her "lifelong dedication". One thousand boats took part in the Diamond Jubilee Thames River Pageant, the first of its kind for 350 years! </node>
return cts:entity-highlight($myxml, element { fn:replace($cts:entity-type, ":", "-") }{ $cts:text })
i getting below result
<node>Queen Elizabeth celebrated her Diamond Jubilee in London this June. A thanksgiving service at St Paul's Cathedral where the ArchBishop of Canterbury paid tribute to her "lifelong dedication". One thousand boats took part in the Diamond Jubilee Thames River Pageant, the first of its kind for 350 years!
</node>
but expected result is different... i attached expected result...
The text was updated successfully, but these errors were encountered:
I did some investigation, it looks like cts:entity-highlight was removed in MarkLogic 8. What version of MarkLogic are you using? Where did you get the sample code?
below code not working as expected...
I Run the below code in QueryConsole
i getting below result
<node>Queen Elizabeth celebrated her Diamond Jubilee in London this June. A thanksgiving service at St Paul's Cathedral where the ArchBishop of Canterbury paid tribute to her "lifelong dedication". One thousand boats took part in the Diamond Jubilee Thames River Pageant, the first of its kind for 350 years!
</node>
but expected result is different... i attached expected result...
The text was updated successfully, but these errors were encountered: