Subject: Re: XSLT's Template Dispatch
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 5 Jan 2001 16:53:56 GMT
|
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
|