This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: preceding-sibling


> <xsl:element name="{preceding-sibling::foo[position()=1]/@type}" />
> 
> isn't that supposed to create a 'foo' element which has the 
> name of the
> 'type' attribute of the previous 'foo' element ?

No, it's supposed to create an element which has the 
name of the 'type' attribute of the previous 'foo' element. 

> It doesn't work and I took from the W3C site...

Perhaps a context problem?

Mike Kay
Software AG

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]