Quote:
Originally Posted by jackie_w
The Editor uses Xpath (right-click in code view) in the same way as on the convert Look&Feel page. If the existing code doesn't easily lend itself to the Xpath approach, I guess you could also use a kind-of-Sigil-split-marker-type approach by using regex to insert some <h2></h2> or <h3></h3> dummy headers (if they don't already exist), then remove them after the split.
|
I recently had a mess of a book, multiple chapters in a single file, some chapters spread between 2 or 3 separate files.
Some one really had to work hard to mess it up that bad.
Merged all into single file, and then split on the <h1> into separate files. Multi-file rename to 'chap_001, etc.' and done.
VERY simple, mostly because at least most of the chapters were started with <h1> tags.