Fascinating but what part of this does the / come in? Or do I erase all of it and substitute the /
//*[((name()='h1' or name()='h2') and re:test(., '\s*((chapter|book|section|part)\s+)|((prolog|prol ogue|epilogue)(\s+|$))', 'i')) or @class = 'chapter']
Well, anyway I tried removing all and replacing with "/" and it didn't remove the TOC.
Last edited by VeryWellAged; 08-22-2024 at 03:29 AM.
|