xsl-list
[Top] [All Lists]

Re: [xsl] Custom function in template match predicate

2008-09-23 16:52:38
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(_dot_)Stokes-Rees(_at_)spmetric(_dot_)com +1 (617) 418-4168
SP Metric Limited, Technology Consulting


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--