Before you get started, you'll need to download the below files:
onix. Do not alter the structure of this folder. The ONIX International DTD is located in: 2.1 > reference > onix-international.dtd
Once these are downloaded, you'll need to create a new folder on your computer and put the xsl file, the onix folder, and the ONIX file into this same folder.
Once these files are in the same folder, you can start the process of converting the ONIX file into short form:
DOCTYPE, change the filepath to:
New Terminal at Folder. You may need to set up your Mac to open Terminal from a specific folder.
saxon ONIX2Ref.xml switch-onix-tagnames-2.0.xsl result-document=ONIX2Short.xml dtd-path=2.1/reference/onix-international.dtd
The next step is to convert this ONIX short file into MARC XML. Move on to Convert ONIX short to MARC XML.