I'm not sure if this is a bug or a missing feature (according to me :p).
I'm trying to use XTemplate member function in template <tpl if="..."> statements and it doesn't seem to work.
Is it supposed to work ? How ? If not, have you considered this ?