This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Testing for Parent Nodes of multiple types
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Testing for Parent Nodes of multiple types
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Thu, 15 Mar 2001 09:08:24 GMT
- References: <NEBBIEMMKMAEPLDEIMPEOEPKCFAA.ciaran.byrne@3tl.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
> Although David Carlisle now has me thinking.
Sorry, I'll try not to do that again:-)
> My opinion on this would be that each node can
> have multiple children so therefore each child would
> have to checked (David's approach).
You haven't said what you are doing in case the test is true or false.
In some circumstances by moving the code up to the relevant parent
templates you mightavoid all checking, but it depends quite what you are
doing.
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