This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Testing for Parent Nodes of multiple types



> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]