[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Selecting between heading tags in XHTML
I want to select all siblings between heading tags in an XHTML file, as
shown below.
<div> <h4>my heading</h4> <<<---- select from this sibling <ol> <li></li> </ol> <p></p> <p></p> <p></p> <ul> <li></li> </ul> <<<<---- all the way down to this sibling <h1></h1> <<<<---- Do not select this sibling or anything after it <p></p> etc. </div> Given the context of <h4> above, I figure that following-sibling::*[some predicate here] would do this but I haven't guessed what would exclude the <h1> (or <h2>, etc.) and everything that follows it. What's a good way to do this? Thanks, Mark
|
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
|