This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XPath expression "everything but..." ?
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] XPath expression "everything but..." ?
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Wed, 14 Feb 2001 17:20:20 GMT
- References: <3936FA5B910BD411BC0600902771C7F256D634@prism.cisco.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
<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