Subject: RE: [xsl] Using keys in templates From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Tue, 13 Jul 2004 13:16:07 -0400 |
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.
Cheers, Wendell
-----Original Message----- From: Nicolas Mailhot [mailto:Nicolas.Mailhot@xxxxxxxxxxx]
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
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Using keys in templates, Michael Kay | Thread | RE: [xsl] Using keys in templates, Hansen, John |
Re: [xsl] XPATH - Finding similar/c, David Carlisle | Date | Re: [xsl] Speeding up processing (w, TDarksword |
Month |