Re: [xsl] Custom function in template match predicate

Subject: Re: [xsl] Custom function in template match predicate
From: Ian Stokes-Rees <ijstokes@xxxxxxxxxxxx>
Date: Tue, 23 Sep 2008 16:52:06 -0400
Hi Wendell,

Wendell Piez wrote:
<xsl:template match="foo[ my:test('type1',.)]">

(That is, instead of generating and comparing a string, simply generate a Boolean value.)

Thanks. I'll have to take a closer look at what was going on -- it appeared that the custom function in the predicate simply wasn't being called, but it sounds like I was mis-reading the situation. Glad to know that it *should* work.


Ian

--
Ian.Stokes-Rees@xxxxxxxxxxxx +1 (617) 418-4168
SP Metric Limited, Technology Consulting

Current Thread