[xquery-talk] [saxon] getting around the built in type restriction of a Basic XSLT processor

Ihe Onwuka ihe.onwuka at gmail.com
Mon Dec 1 00:20:26 PST 2014


yes otherwise it would return true for things like man's-hat .

On Mon, Dec 1, 2014 at 8:15 AM, John Lumley <john at saxonica.com> wrote:

> On 1 Dec 2014, at 08:06, Ihe Onwuka <ihe.onwuka at gmail.com> wrote:
>
> If it's only the castable test you are after, you could use matches(.,
>> '\i\c*')
>>
>>
> This returns true for matches('1880s','\i\c*') in Saxon XSLT and Zorba.
>
>
> Perhaps the match should be anchored: matches(.,'^\i\c*$')
>
> John Lumley
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://x-query.com/pipermail/talk/attachments/20141201/b8f16e59/attachment.html>


More information about the talk mailing list