ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xsl-list
xsl-list
RE: [xsl] Collecting attributes from the ancestor-or-self axis
by WATKIN-JONES,ADAM (HP-UnitedKingdom,ex1) other posts by this author
Nov 19 2001 12:26PM messages near this date
Re: [xsl] for loop in conditional statement | Re: [xsl] Collecting attributes from the ancestor-or-self axis
Ah!  Thank you for the correction.  One feature of this mailing list I
appreciate is how sloppy thinking is put to the sword!

>  From: David Carlisle
> 
>  > I believe this works as follows:
>  more or less, yes.
>  
>  
>  > 1. the select in copy-of returns a node-set in document 
>  order.  At this
>  > point the node set has duplicate attribute names.
>  
>  As I've said so often on this list that even Jeni's started saying it,
>  set's don't have an order. So the select just selects the set 
>  of nodes.
>  
>  Howver copy-of, in common with all other result building operations
>  in xslt, processes the nodes in the set in document order, and so:
>  
>  > 2. when copy-of applies these attributes to the output element, the
>  > duplication is removed by succeeding attribute nodes 
>  overwriting the values
>  > of any attributes that are already present.
>  
>  
>  David
>  

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
Thread:
WATKIN-JONES,ADAM (HP-UnitedKingdom,ex1)
David Carlisle

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved