DC did this years ago, too: https://github.com/DCCouncil/law-xml
Someone set it up for Philly and Baltimore too, but I can't seem to find it.