I've painfully discovered that footnotes will not export as XML. I've got many, many books, some with hundreds, if not thousands, of footnotes.
So, I'm wondering if there would be a way in a script to grab all of the footnotes in a document and plop them down as regular paragraphs, but, with a style tag of "footnotes." Something like that. Then, in the xml export I can tell it to make all footnote paragraph styles into footnote xml tags. Then I should be OK.
Thanks. Yes, I found another script that does the same. I used it and it worked. It made them all into endnotes. But, then, when I exported as XML, I discovered that ID doesn't put in any line-endings. Another issue entirely, in another forum.