File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / libxml2 / test / XPath / xptr / chaptersrange
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:38:00 2012 UTC (12 years, 6 months ago) by misho
CVS tags: MAIN, HEAD
Initial revision

xpointer(//chapter[position() = 2]/range-to(following::chapter[1]))
xpointer(//chapter[position() <= 2]/range-to(following::chapter[1]))
xpointer(//chapter[position() = last()]/range-to(following::chapter[1]))
xpointer(//chapter[position() = 3]/range-to(/.//chapter[position() = 1]))

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>