openva / va-decoded

The Virginia implementation of The State Decoded.
https://vacode.org/
Other
3 stars 4 forks source link

Recurse through nested levels of text #8

Closed waldoj closed 8 years ago

waldoj commented 8 years ago

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.

waldoj commented 8 years ago

Done.