View Single Post
Old 04-08-2012, 01:22 PM   #6
p3aul
Captain Courageous
p3aul doesn't litterp3aul doesn't litter
 
p3aul's Avatar
 
Posts: 239
Karma: 102
Join Date: Apr 2009
Device: calibre, PRS 505
Hi Wallcraft! once again you've come through for me! I like your suggestion also, "theducks"!

My reason for putting in the dash was to include numerals from I(1) to XXIII(23) in case the chapters went that high. I knew they didn't go above XXIII. and all I had to use was a previous xpath statement you gave me: //*[re:test(., '^CHAPTER [I-XXIII]+$')] so I deleted "CHAPTER"

In the case of the xpath above, wallcraft, you only used one set of RN; IXV but the program detected all the chapters in the book which went up to XVIII. Why did it do that? I'm confused. Why wouldn't my "I-XXIII" work?
Thanks,
Paul
p3aul is offline   Reply With Quote