[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] finding elements lowest in hierarchy?
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|