This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XSLT's Template Dispatch
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] XSLT's Template Dispatch
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Fri, 5 Jan 2001 16:53:56 GMT
- References: <Pine.LNX.4.10.10101051228230.8022-100000@clarkevans.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
The first case, <when
test="//author[generate-id(.)=$id]">, has a path
expression returning the node-set consisting of any
author element having an identifier equal to the current
node's identifier. Therefore, if the current node
happens to be an author, the node-set returned will be
non-empty, which converts to a true boolean value.
isnt this just self::author ?
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