added handling for nested major and minor headings to lords xml parser