The XPath expression, generally speaking, needs to be adapted to each book individually. Try clicking the magic wand from the header/footer deletion to see the XHTML Calibre generates during conversion, then use that to build the expression from.
The chapter mark you tried to change should only, from what I know, influence what Calibre inserts once it thinks it has discovered a chapter.
|