The <html> and </html> tags are there. The file will convert correctly before I strip out the navigation controls, so something I'm removing is causing the problem. I've done some spot checking to ensure that I'm not removing anything I don't intend to with my script, and what I'm seeing is that it's doing exactly what I intend. What does a "spine is empty" error mean? That might help me narrow my search.
In the meantime I'm running the file through some HTML validators to see if they can point out the problem, but so far the file is throwing so many errors that's not being helpful. Lots of closing </br> tags and such things that don't validate properly.
|