[Home] [By Thread] [By Date] [Recent Entries]
At 2006-10-26 09:29 +0930, Fleetwood, Brett \(DCS\) wrote:
I want to find out if the ancestor <li> is the last of the <ol>. test="not(ancestor::li[1]/following-sibling::li)" "there is no following-sibling li of my closest ancestor li" I added the "closest" because of nested ordered lists (you don't say if they are nested, but you would need the "[1]" to ensure you are looking only at the closest ancestor). I hope this helps. . . . . . . . . Ken -- UBL/XSLT/XSL-FO training: Allerxd/Verx Denmark 2006-11-13,17,20/24 UBL International 2006 2006-11-13/17 http://www.ublconference.com World-wide corporate, govt. & user group UBL, XSL, & XML training. G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Cancer Awareness Aug'05 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
|

Cart



