A script that pulls footnote text from a CSV file; Col 1 is the ID, Col 2 is the page the footnote is from, and Col 3 is the text of the footnote. The script then sorts and compares the footnotes by ID and page. You then can output the text directly or as XML, and you can choose to only print the duplicates in XML.