Congress posts U.S. Code in XML


The House of Representatives has published all 51 titles of the U.S. Code in Extensible Markup Language (XML) format for download, as part of the leadership’s open government agenda. For developers and government watchdogs, it provides tools for rendering taggable, machine-readable versions of U.S. law.

Developers are already taking advantage of the release and building tools to facilitate the searching and rendering of the code. “Putting U.S. Code into XML doesn’t revolutionize the way legislators and citizens interact with the law yet, but it could,” said Hudson Hollister, executive director of the Data Transparency Coalition.

Previously, the online versions of the code were available in simple, unstructured text files. “Providing free and open access to the U.S. Code in XML is another win for open government,” House Speaker John Boehner (R-Ohio) and Majority Leader Eric Cantor (R-Va.) said in a joint statement. The move follows similar developments, including moves by the Government Printing Office to publish House bills in XML and the release of XML House floor summaries by the Office of the Clerk.

Underlying the release is the United States Legislative Markup (USLM) schema, which provides a guide for structuring legislative data. Prepared by the Office of Law Revision Counsel, which publishes the U.S. Code, the USLM provides a blueprint for how the complex organization of federal statutes into titles, chapters, articles, sections and other divisions can be described in XML.

The USLM is designed to be flexible, to accommodate unanticipated ways the code and other legislative data might be structured in the future, while also supporting existing data produced by Congress. USLM was built to be easy to use and edit, with a minimum of computer jargon. The effort initially supports the U.S. Code, but according to the documentation, “it is designed to be adaptable for appendices to titles of the United States Code as well as bills, resolutions, statutes, and certain other legislative materials.”

This hints at more ambitious future applications of USLM. Hollister said he hopes that eventually all groups that work at drafting legislation, including appropriations committees in both chambers, the Clerk of the House and the Secretary of the Senate, will adopt the USLM standard.

“If the USLM expands beyond the Office of Law Revision Council, people will be able to do legislative markups using apps,” Hollister said. “There will be no snowstorms of paper in committee rooms.” The result, he said, would be a less error-prone, more efficient and transparent process of writing legislation.

If appropriators adopted the USLM, it could also begin of a transformation of methods to track federal dollars. XML tags could be used to identify appropriation line items and assess their impact on the overall budget. Once appropriations were enacted, Hollister said, the legislative data could be mapped with executive branch data sources to give a picture of the end-to-end lifecycle of federal spending -- from budget to allocation to disbursement to award to sub-award.

A good deal of coordination would be required for this to happen, however. The House leadership has been pushing these efforts since 2011, and in 2012 a task force was established to spur the Government Printing Office, the Library of Congress, and other legislative branch offices to publish Congressional information in XML. In their release, Boehner and Cantor promised more access to legislative data, including updates to the U.S. Code as new laws are enacted.

About the Author

Adam Mazmanian is executive editor of FCW.

Before joining the editing team, Mazmanian was an FCW staff writer covering Congress, government-wide technology policy, health IT and the Department of Veterans Affairs. Prior to joining FCW, Mr. Mazmanian was technology correspondent for National Journal and served in a variety of editorial roles at B2B news service SmartBrief. Mazmanian started his career as an arts reporter and critic, and has contributed reviews and articles to the Washington Post, the Washington City Paper, Newsday, Architect magazine, and other publications. He was an editorial assistant and staff writer at the now-defunct New York Press and arts editor at the online network in the 1990s, and was a weekly contributor of music and film reviews to the Washington Times from 2007 to 2014.

Click here for previous articles by Mazmanian. Connect with him on Twitter at @thisismaz.

The Fed 100

Read the profiles of all this year's winners.


  • Then-presidential candidate Donald Trump at a 2016 campaign event. Image: Shutterstock

    'Buy American' order puts procurement in the spotlight

    Some IT contractors are worried that the "buy American" executive order from President Trump could squeeze key innovators out of the market.

  • OMB chief Mick Mulvaney, shown here in as a member of Congress in 2013. (Photo credit Gage Skidmore/Flickr)

    White House taps old policies for new government makeover

    New guidance from OMB advises agencies to use shared services, GWACs and federal schedules for acquisition, and to leverage IT wherever possible in restructuring plans.

  • Shutterstock image (by Everett Historical): aerial of the Pentagon.

    What DOD's next CIO will have to deal with

    It could be months before the Defense Department has a new CIO, and he or she will face a host of organizational and operational challenges from Day One

  • USAF Gen. John Hyten

    General: Cyber Command needs new platform before NSA split

    U.S. Cyber Command should be elevated to a full combatant command as soon as possible, the head of Strategic Command told Congress, but it cannot be separated from the NSA until it has its own cyber platform.

  • Image from Shutterstock.

    DLA goes virtual

    The Defense Logistics Agency is in the midst of an ambitious campaign to eliminate its IT infrastructure and transition to using exclusively shared, hosted and virtual services.

  • Fed 100 logo

    The 2017 Federal 100

    The women and men who make up this year's Fed 100 are proof positive of what one person can make possibile in federal IT. Read on to learn more about each and every winner's accomplishments.

Reader comments

Tue, Aug 6, 2013 Beltway Bill

How quickly will a savvy lawyer + webmaster create a webiste of The Top 10 Stupid US Code Laws?

Mon, Aug 5, 2013 John Seattle

A Novel Idea: With such advances in technology, wouldn't be nice if Congress could publish the text of proposed bills on the web in XML with sufficient time that our representative (and the public) could read and even understand the bills before they vote on them.

Please post your comments here. Comments are moderated, so they may not appear immediately after submitting. We will not post comments that we consider abusive or off-topic.

Please type the letters/numbers you see above

More from 1105 Public Sector Media Group