Of course I can respect that answer. That's what we are doing now. It works fine.
That said, this proposed JavaScript could also be a default in Prince. What I mean is that you already have a convention that says to do this:
Footnotes<span class="fn">A footnote is a note placed at
the bottom of a page of a book or manuscript that comments on or
cites a reference for a designated part of the text.</span> are
essential in printed documents and Prince knows how to generate
them. Most readers will read the footnotes before they read the text
from where the footnotes are anchored<span class="fn">Often,
the most interesting information is found in the footnotes.</span>.
Based on that, we've built code to follow that convention. We've trained users to write markup that follows that convention.
So why not:
Endnotes<span class="en">An endnote is a note placed at
the end of a chapter of a book or manuscript that comments on or
cites a reference for a designated part of the text.</span> are
essential in printed documents and Prince knows how to generate
them. Most readers will not read the endnotes before they read the text
from where the endnotes are anchored<span class="en">Often,
the most interesting information is found in the endnotes.</span>.
One less thing we have to program is one more reason to use Prince. Can't have footnotes without endnotes.
Anyway, just a feature request. File under won't do. No worries.