xsl-list
[Top] [All Lists]

RE: Using keys in templates

2004-07-13 09:06:23
When you specify which nodes are selected in your apply-templates call
then there isn't ever any doubt which nodes are being processed or not.
It's almost always better to specify exactly which nodes you want to
process in an <xsl:apply-templates select=""/> then to either use ifs
inside a template or a match on a template.

-----Original Message-----
From: Nicolas Mailhot [mailto:Nicolas(_dot_)Mailhot(_at_)laPoste(_dot_)net] 

Well, you're right but with priorities you can poison the default
template with an xml:message and detect when a node that isn't supposed
to be processed is.

Anyway, thanks for the advice !

-- 
Nicolas Mailhot



<Prev in Thread] Current Thread [Next in Thread>