Right now, we're only getting the top level of laws, but not subsections. For instance, a law divided into sections A, A1, A2, B, C, and D, would only include the text of sections A, B, C, and, and D—not A2 or A2. Presumably this is going to require moving <xsl:for-each select="legislativeDocBody/statute/level/level"> into a function that calls itself recursively.
Right now, we're only getting the top level of laws, but not subsections. For instance, a law divided into sections A, A1, A2, B, C, and D, would only include the text of sections A, B, C, and, and D—not A2 or A2. Presumably this is going to require moving
<xsl:for-each select="legislativeDocBody/statute/level/level">
into a function that calls itself recursively.