[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
David Carlisle wrote:
Ah, it's all clear now. The above is far more valuable to me than the solution. Thanks!
Cheers,
Manos
Re: [xsl] implement attribute inheritance
Subject: Re: [xsl] implement attribute inheritance From: Emmanouil Batsis <Emmanouil.Batsis@xxxxxxxxxxx> Date: Tue, 13 Jul 2004 18:53:06 +0300 |
David Carlisle wrote:
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.
Ah, it's all clear now. The above is far more valuable to me than the solution. Thanks!
Cheers,
Manos
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 |