Comment by tianhe

13 years ago

XML? this should be in json!

As the schema guide explains, in 1999 they picked XML based on the study from 1996:

"Following a 1999 feasibility study on XML/SGML, the Committee on House Administration adopted XML as a data standard for the exchange of legislative documents" http://uscodebeta.house.gov/download/resources/USLM-User-Gui...

It took the US Govt 17 years to release 200,000 pages of the US code in XML.

  • I think the most time consuming part of the conversion is from text to digital. That's what took so long.

    Interchanging formats should be relatively easy. Back in 1999, json wasn't even around.

    IMO in today's API centric, and javascript ruled world. json would be a lot more useful.

    • Given that it can be mechanically converted to JSON, I have a hard time seeing how JSON would be a lot more useful. "Very slightly more convenient" seems like the most we could reasonably say.

    • I wonder why. The U.S. Code was in electronic format by the 1980's. The Air Force had FLITE, Justice had Juris, and then there's Lexis and Nexis.

Considering typical timescales for this sort of projects, i'd say we should be happy it's not in CSV or SGML.

I hope you're joking.

XML is a superior format for semantically marking up content from a very detail-oriented dataset like this.

Given the level of detail in the XML, I shudder to think what monstrosity that would create.

Heck they didn't even bother to include a way to inherit styles, they are just included in every case.

  • This is surely an artifact of the conversion process. They are not storing the documents internally like this :)