Try the same prefix for fn, rather than the cts one:

PREFIX fn: <http://www.w3.org/2005/xpath-functions#>

I did see the other mistake in the doc, so I'll report that.  This I didn't
find, so just a copy/paste error in testing?

On Mon, Jul 31, 2017 at 5:56 PM, Steven Anderson <[email protected]>
wrote:

> Yup, that worked, thanks.  Any ideas on why the fn: namespace version
> isn't working?
>
> On Mon, Jul 31, 2017 at 1:29 PM, Christopher Hamlin <[email protected]>
> wrote:
>
>> I removed the trailing / in the function name here (after 'starts-with'):
>>
>> <http://www.w3.org/2005/xpath-functions#starts-with/>( ?o, "sf" ) )
>>
>> and the error went away.  Does that work for you?
>>
>> _______________________________________________
>> General mailing list
>> [email protected]
>> Manage your subscription at:
>> http://developer.marklogic.com/mailman/listinfo/general
>>
>>
>
>
> --
>
>      Steve
>
> _______________________________________________
> General mailing list
> [email protected]
> Manage your subscription at:
> http://developer.marklogic.com/mailman/listinfo/general
>
>
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to