Quote:
Originally Posted by lunixer
I accidentally deleted the "formulas" that were used to determine the table of contents. Could somebody please tell me what they should be? I don't really get how to recreate them myself. Thank you!
|
Are you looking for the XPath chapter detection?
Code:
//*[((name()='h1' or name()='h2') and re:test(., 'chapter|book|section|part\s+', 'i')) or @class = 'chapter']