Re: [xsl] preceding-sibling

Subject: Re: [xsl] preceding-sibling
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 13 Mar 2001 14:11:55 GMT
> The input document is the following (excerpt):
You know it's really much easier if you don't do that, or
> 					...
or that, but rather make a cut down but complete example.
Then people suggesting changes can actually test their changes before
posting... 

However it would appear from your stylesheet (but not your input
document excerpt) that the element element is in the namespace
that you have on the xd: prefix, so

preceding-sibling::element

should be

preceding-sibling::xd:element


David
PS

		<xsl:attribute name="type">
			<xsl:value-of select="@type" />
		</xsl:attribute>

is longhand for <xsl:copy-of select="@type"/>


_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp

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


Current Thread