Subject: Re: XPath expression "everything but..." ?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 14 Feb 2001 17:20:20 GMT
|
<xsl:template match="chapter">
<xsl:apply-templates select="title"/>
<xsl:apply-templates select="*[not(title)]"/>
</xsl:template>
you meant I think:
<xsl:template match="chapter">
<xsl:apply-templates select="title"/>
<xsl:apply-templates select="*[not(self::title)]"/>
</xsl:template>
David
_____________________________________________________________________
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
|