Re: xslt task problem (xpath expression)

2010-05-25 Thread Scot P. Floess
I believe the builtin XPath/XSLT is 1.0 only - not 2.0. You will have to enable Saxon to use it... On Tue, 25 May 2010, Jakob Fix wrote: Hi, any idea why the following xpath expressions are not understood by ant's builtin xsl task? Doesn't seem out-of-spec to me, and saxon groks it, the st

xslt task problem (xpath expression)

2010-05-25 Thread Jakob Fix
Hi, any idea why the following xpath expressions are not understood by ant's builtin xsl task? Doesn't seem out-of-spec to me, and saxon groks it, the stylesheet is version 2.0. elt1[elt2[matches(text(), '^[\d]+$')]] elt1[elt2[matches(., '^[\d]+$')]] elt1[elt2[matches(., '^\d+$')]] elt1[matches(.