How can I figure out section headings in a document? I have a large number of different XML documents with associated style sheets (SEC financial filings). Are there any natural language processing (or other) tools that I can use to try to automatically extract section headings?
It seems you are lucky and the section headings are XML-tagged. So you can use XSLT transformations or Python lxml.etree to get rid of them or to extract them.