Skip to main content

How to extract specific organisation types from the XML file

The change to XML introduces a different way of working for ODS data users. A range of tools have been developed to assist users. The primary constrain tool focusses on extracting specific organisation types from the XML file.

Published: 27 April 2018
Version: 1.1

Primary role constrain tool

An XSLT has been developed, enabling users to transform the content of the XML product in a number of ways, including producing an XML file containing only organisations that have one or more primary roles (as specified by the user).

The primary role constrain tool is available via:

Register for the ‘ODS XML Organisation Data – Supporting Products’ pack under the Organisation Data Service menu/category.

An end-to-end, PDF user guide for the primary role constrain tool is found within the file that contains the XLST. Follow the steps within the user guide.

Note that the XSLT processing writes output to a single XML file which follows the same schema as the full HSCOrgRefData XML file.

Also note that the you will need to specify the role codes relevant to the organisation types required. Primary role codes can be found listed within the data item catalogue. You will need to open the file.

Last edited: 16 July 2019 10:50 am