Why does processing a parent element's template prevent the processing of child element templates?
问题 Consider this XML: <person> <name> <firstName>James</firstName> <lastName>Bond</lastName> </name> </person> Then consider this XSL: <xsl:template match="//name"> [do stuff] </xsl:template> <xsl:template match="//firstName"> [do stuff] </xsl:template> Am I correct in saying that existence of the first template ("//name") "hides" the second template ("//firstName"). I know this is true (I tested this before posting), but I'm trying to derive and understand the general rule. Since... It ("//name