Skip to main content

XML structure

Category list XML should use the LGNL standard format.

    <?xml version="1.0" encoding="UTF-8"?>
<ControlledList Version="1.05" VersionDate="2008-06-30" ListName="LGNL" ItemName="LGNL" xmlns="http://www.esd.org.uk/standards" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
...
</ControlledList>

Metadata around the list is defined by adding a Metadata element within ControlledList:

    <Metadata>
<Coverage>UK</Coverage>
<Creator>Jadu Category List Builder</Creator>
<Date.Created>2004-03-19</Date.Created>
<Date.Modified>2008-06-30</Date.Modified>
<Description>Website Navigation List</Description>
<Language SchemeName="ISO 639-2/T">eng</Language>
<Publisher>Jadu www.jadu.co.uk</Publisher>
<Status>Version 1.0</Status>
<Subject.Category SchemeName="LGNL">Information management</Subject.Category>
<Subject.Category SchemeName="IPSV">Information management</Subject.Category>
<Title>Web Navigation</Title>
</Metadata>

Only a single Metadata element is permitted.

Each category is defined by adding an Item element within ControlledList, with the immediate ancestors of the category indicated by a BroaderItem element, as shown below:

    <Item Id="1" ConceptId="1" Obsolete="false" AddedInVersion="1.00" LastUpdatedInVersion="1.02" AToZ="false" Preferred="true">
<Name>School - home schooling</Name>
<ScopeNotes></ScopeNotes>
<BroaderItem Id="200071" ConceptId="200071" Default="true">Parental support</BroaderItem>
</Item>
tip

More than one immediate ancestor can be defined, making the category poly-hierarchical.