What happens if you change this:
Quote:
Originally Posted by Tearin de Hairou
Code:
//*[((name()='h1' or name()='h2') and re:test(., 'chapter|book|section|part|prologue|epilogue\s+', 'i')) or @class = 'chapter']
|
to this:
Quote:
Originally Posted by Tearin de Hairou
Code:
//h:p[re:test(@class, "chapter", "i")]
|
in the Structure Detection - Detect chapters at box