Subject: Re: [xsl] Priority issue with select="node()" From: "G. Ken Holman g.ken.holman@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Thu, 21 Jul 2016 15:07:53 -0000 |
At 2016-07-21 14:44 +0000, Andrew Campbell andrew.campbell@xxxxxxxxxxxxxxx wrote:
It looks like a priority issue - for some reason the node() match is higher priority than the <xsl:template match="method"/> when it is included in the other template, but not when it is in its own template.
No, it isn't that it is a higher priority, it is that it is severally acceptable to the template. The fact that you added node() to the match pattern means that the node is being matched because of node().
-- Check our site for free XML, XSLT, XSL-FO and UBL developer resources | Streaming hands-on XSLT/XPath 2 training @US$45: http://goo.gl/Dd9qBK | Crane Softwrights Ltd. _ _ _ _ _ _ http://www.CraneSoftwrights.com/s/ | G Ken Holman _ _ _ _ _ _ _ _ _ _ mailto:gkholman@xxxxxxxxxxxxxxxxxxxx | Google+ blog _ _ _ _ _ http://plus.google.com/+GKenHolman-Crane/posts | Legal business disclaimers: _ _ http://www.CraneSoftwrights.com/legal |
--- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Priority issue with select="n, Andrew Campbell andr | Thread | Re: [xsl] Priority issue with selec, G. Ken Holman g.ken. |
[xsl] Priority issue with select="n, Andrew Campbell andr | Date | Re: [xsl] Priority issue with selec, G. Ken Holman g.ken. |
Month |