xsl-list
[Top] [All Lists]

Re: [xsl] Priority issue with select="node()"

2016-07-21 10:08:09
At 2016-07-21 14:44 +0000, Andrew Campbell
andrew(_dot_)campbell(_at_)synchronoss(_dot_)com 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().

When using union, the patterns are not exclusive.

. . . . . . . . Ken


--
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(_at_)CraneSoftwrights(_dot_)com |
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
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

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