Re: [xsl] Re: Re: Collecting attributes from the ancestor-or-self axis

Subject: Re: [xsl] Re: Re: Collecting attributes from the ancestor-or-self axis
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 19 Nov 2001 13:01:54 GMT

> Order is important here, as from a set of attribute nodes with the same name, only
> the last one is output (by the serializer I guess?).

No this happens at result tree building time not at serialisation.
This doesn't make any difference in pure xslt 1.0 but in xslt x for
x > 1 and with a node-set() extension function you get access to the result
tree without it being serialised and it then matters that the result
tree will be well formed without multiple attribute nodes with the same
name sitting on a single element node.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread