|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] testing for preceding-sibling's
in writing a docbook manual, i want to insert a <beginpage> element before any <section> that has a preceding-sibling, *except* for a preceding-sibling of a <title> since that doesn't really change the pagination. so far, what seems to work is match="section[preceding-sibling::*[local-name() != 'title']]" as in, match any section that has at least one non-title preceding sibling. is that a reasonable way to do it? or is there a much more elegant way i'm missing? rday 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
|

Cart








