When determining depth, don't use the 'SOURCE' field in headers as if its number were accurate. Instead, treat it like a unique, level identifier
Better docs. Use takewhile instead of break
Merge pull request #164 from cmc333333/appendix-header-depth

Stop assuming the XML has semantic value