Subject: Re: [xsl] implement attribute inheritance From: Emmanouil Batsis <Emmanouil.Batsis@xxxxxxxxxxx> Date: Tue, 13 Jul 2004 18:53:06 +0300 |
ancestor-or-self::*/@*
selects all the attributes from here up, and
<xsl:copy-of
a) sorts them in to document order (this is important, as we'll see) b) copies them all into the currently open element c) always, if two attribute nodes of the same name are added, the second one replaces the first, so, because of (a) the innermost attribute will be added last and will end up in the result.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] implement attribute inher, David Carlisle | Thread | Re: [xsl] implement attribute inher, David Carlisle |
Re: [xsl] implement attribute inher, David Carlisle | Date | Re: [xsl] implement attribute inher, David Carlisle |
Month |