Subject: RE: preceding-sibling
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Tue, 13 Mar 2001 10:38:51 -0000
|
> <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
|