<?xml version="1.0" encoding="UTF-8"?>

<!--  XNFv2.dtd - eXtensible Numerical File Format - version 2
	Date: April 1st, 2007

	An XNF document can contain any number of arrays stored as binary files.

	See all information about XNF at:
http://www.satimage.fr/software/en/smile/computing/xnf/sl_xnf_intro.html
-->

<!-- (ROOT ELEMENT) -->
<!ELEMENT tableofcontents (description?,dataset*)>
<!ATTLIST tableofcontents
	xml:base     CDATA         #IMPLIED
>
<!ELEMENT description (#PCDATA)>

<!-- BINARY files -->
<!ELEMENT dataset (axis*,data*,comments?)>
<!ATTLIST dataset
	xml:id     ID         #REQUIRED
	dimension CDATA         #REQUIRED
	xml:base     CDATA         #IMPLIED
	description CDATA #IMPLIED
>

<!-- an axis element must contain an attribute size. Optionally a scale may be defined in the 'data' element. The scale may also be locally defined with 2 real numbers ('start' and 'step' attributes)
	or by reference to an existing 1D dataset ('idref' attribute)-->
<!ELEMENT axis (data?)>
<!ATTLIST axis
	size     CDATA         #REQUIRED
	description CDATA #IMPLIED
	start CDATA  #IMPLIED
	step CDATA  #IMPLIED
	idref IDREF #IMPLIED
	padding-left CDATA  #IMPLIED
	padding-right CDATA  #IMPLIED
	label CDATA  #IMPLIED
>

<!ELEMENT data (#PCDATA)>
<!-- Numerical data may be defined in the textual contents of the 'data' element by a list of numbers separated with spaces, tabs or line feeds.
	More frequently, the numerical data are contained i