Re: [xsl] Testing for Parent Nodes of multiple types

Subject: Re: [xsl] Testing for Parent Nodes of multiple types
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 15 Mar 2001 09:08:24 GMT
> 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


Current Thread