Stop assuming the XML has semantic value

Instead of using the HD# value in the 'SOURCE' field as an indicator of depth, use it as an opaque value. This means, if we see an H3 before and H2, we assume the H3 encloses the H2.