public int getLastSectionHeadingRank() {
            Section section = outline.peekLast();
            return section != null ? section.getHeadingRank() : -1;
        }
@return 1-6 for a heading content element MAX_VALUE for an implied
        heading -1 for no section
src/nu/validator/servlet/OutlineBuildingXMLReaderWrapper.java