This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: preceding-sibling
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] preceding-sibling
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Tue, 13 Mar 2001 10:38:51 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
> <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