If H2 follows straight after H1 add class question
This is an open discussion with 22 replies, filed under XSLT.
Search
I am wondering if the proposed code will really work as expected because to my knowledge the preceding-sibling:: axis is reversed.
Oops my bad. I should have used XPathr to actually test that ;-)
Yooo guys :) Thanks oh worthy Ninjas! Nils, this is much more robust now, cheers!
Create an account or sign in to comment.
Yes, that looks much better, Nils.