[Home] [By Thread] [By Date] [Recent Entries]

Subject: Template priority query
From: Chris Loschen <closchen@xxxxxxxxxxxxxxxxxx>
Date: Thu, 10 Jun 2004 06:53:24 -0400
Hi, everybody!

Quick sanity check -- I've got two templates like this:

<xsl:template match="a | b | c">...</xsl:template>

<xsl:template match="*[@length]">...</xsl:template>

My assumption has been that the first of these is more specific
and so would have a higher priority than the second, but my output
suggests that the second is firing instead of the first. Is my assumption
faulty, or is something else going wrong? Thanks!


Yours,


Chris Loschen
closchen@xxxxxxxxxxxxxxxxxx
781-718-3017 (cell)



Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member