Laws.Africa Editor Guide
English
English
  • Welcome
  • Getting started
    • Lesson plan
    • Signing up
    • Digitising legislation
    • What is Akoma Ntoso
    • Terminology guide
  • Managing Works
    • Creating and editing works
      • Working with commencements
    • Deleting a document
    • Amending works
      • Creating the amending work
      • Linking the amendment
      • Creating a new document at the new point in time
      • Applying the amendments
      • Annotating the amendments
      • Example
      • Exercise
      • Consolidating the annotations
        • Simple example
        • Complicated example
    • Bulk imports (spreadsheet)
  • How-tos
    • Tasks
    • Importing a document
      • The importer
    • Cleaning up an import
    • Going back to a previous version of a document
    • Fixing all-caps headings
    • Working with tables
      • Table errors
    • Working with links
    • Working with italicised terms
    • Inserting an image
    • Inserting special characters
    • Resolving editor warnings
    • Making comments
    • Inserting editorial notes
    • Changing a document's date
    • Changing a document's short title or language
    • Search and rescue
    • How to handle different language documents
    • How to mark up defined terms which do not occur in a Definitions section
    • Very complicated amendments
      • Research
      • Undo some amendments?
      • Update the timeline
      • Create the tasks
      • Apply the amendments
  • Markup guide
    • Introduction
    • Marking up the structure
    • Preface, Long title, and Preamble
    • Headings
    • Marking up Schedules / Annexes
    • Marking up annotations
    • Marking up tables
    • Marking up links
    • Marking up images
    • Marking up footnotes
    • Marking up formatting
    • Marking up insertions and deletions
    • Keyword reference
  • Reviewing a document
    • Reviewing a document
    • Reviewer checklist
    • Signing off a work
  • Style Guides
    • Laws.Africa
    • Côte d'Ivoire
    • Ghana
    • Namibia
      • Regulations
    • Lesotho
    • Malawi
    • Nigeria
    • Zambia
    • South African Acts
    • South African By-laws
    • Tanzania
    • Uganda
    • UNEP
    • Zimbabwe
    • Seychelles
    • Mauritius
    • Pan-African Parliament/ AGP
    • Turks and Caicos
    • Papua New Guinea
    • eSwatini
    • Rwanda
    • Documents in languages other than English
  • Administration
    • Site settings
    • Managing administrators
    • Countries and localities
    • Document subtypes
    • Task labels
    • Taxonomies
    • Notion templates
Powered by GitBook
On this page
  • Content, Structure and Presentation
  • Working with Akoma Ntoso
  1. Getting started

What is Akoma Ntoso

Akoma Ntoso is an XML language for marking up legislative documents.

PreviousDigitising legislationNextTerminology guide

Last updated 3 years ago

is an XML markup standard for legislative documents. It captures rich metadata and structural information about legislation and allows a computer to automate common tasks.

Akoma Ntoso is a non-proprietary, open standard managed by OASIS.

Here's an example of what it looks like:

<section eId="sec_9">
  <num>9.</num>
  <heading>The rescue of stray dogs</heading>
  <content>
    <p eId="sec_9__p_1">
      A person who rescues a stray dog shall report the date
      and time of the rescue and a description of the dog
      to the Council within twenty four hours.
    </p>
  </content>
</section>

Content, Structure and Presentation

Akoma Ntoso separates content and structure from presentation.

  • Content is the words in a document (the white text in the example above).

  • Structure is the hierarchy, such as parts, chapters and sections (the blue text in the example above).

  • Presentation is the appearance and formatting of the document, such as font, text size, bold, underline and text justification. It's not included in the above example at all.

Treating these three elements separately makes it very easy to apply different presentations for different use cases, such as desktop, mobile and print.

Working with Akoma Ntoso

The Laws.Africa editor makes working with Akoma Ntoso easy. So easy, that you never even have to see it! You don't have to worry about the complexity of XML or ensuring that the table of contents is up to date, it's handled for you.

Instead, you work with a simplified version of the document that focuses just on content and structure, that looks like this:

Akoma Ntoso
Content, Structure and Presentation as layers.