[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Priority issue with select="node()"

Subject: Re: Priority issue with select="node()"
From: "G. Ken Holman g.ken.holman@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 21 Jul 2016 15:19:01 -0000
Re:  Priority issue with select="node()"
After my hasty answer, Andrew, I looked at your email again and thought that, indeed, there should be no difference.

So I executed your code with the combined template, and I do, in fact, get the same result. Results below with Saxon.

Did you invoke the wrong files, perhaps?

. . . . . Ken

t:\ftemp>type andrew.xml

<method href="ref1"/>

<method href="ref2"/>

<method href="ref3"/>


t:\ftemp>xslt2 andrew.xml andrew.xsl
<?xml version="1.0" encoding="UTF-8"?><resource>

<method href="ref1"/>

t:\ftemp>type andrew.xsl
<xsl:stylesheet version="2.0"






| @*

| method[@href = 'ref1']

                 | node()

<xsl:call-template name="identity"/>


<xsl:template match="method"/>

<xsl:template name="identity">


<xsl:apply-templates select="@* | 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


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.