<?xml version="1.0"?>
<!DOCTYPE datafile PUBLIC "-//Logiqx//DTD ROM Management Datafile//EN" "http://www.logiqx.com/Dats/datafile.dtd">
<datafile>
<...>
But it's not exactly correct. For example the last NES datfile (i.e. Nintendo - Nintendo Entertainment System (Headered) (20220520-163123).dat) adds two new attributes sha256 and header to the rom element, so this datfile is not a valid Logiqx document and cannot be validated by a script.
You should probably create your own DTD (e.g. https://no-intro.org/datafile.dtd), forked from Logiqx but with additions, and use it in each datfile.
Last edited by Telen on 23 May 2022 14:10, edited 1 time in total.