[xsl] finding elements lowest in hierarchy?

Subject: [xsl] finding elements lowest in hierarchy?
From: "james walker" <jameswalkerandy@xxxxxxxxxxx>
Date: Tue, 27 Jan 2004 12:41:41 +0000
I have several template matches at several stages in a hierarchy of elements, i am trying to find an xpath staement to find out if any of a particuler elements lowest children have an attirbute called "minimum".
e.g. given this hierarchy
<1>
<2>
<3><4 minimum="true"></4><4></4><4 minimum="true"></4><4></4></3>
<3><4></4><4></4></3>
</2>
<2>
<3><4></4><4></4><4></4></3>
</2>
</1>


e.g. when it template matches for "2" i am trying to say if any "4" elements below the current element have a minimum attribute then execute some code.....
i would like to do the smae for other elemnts such as "3"-- if there are any "4" elements below the current element have a minimum attribute then execute some code


does anyone know how to find out whether any of the lowest children in a hierarchy have a particuler attribute??
cheers
james walker


_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! http://www.msn.co.uk/messenger



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread