Export Data as XML File

Command: File > Export Data > Raw Data > XML Format...

This command allows to store the entire data cube as an XML file. The first table describes the XML-tags that format the data and the second shows an exemplary output file.

XML Tag Description
<matrix> the root element of the matrix. It contains the following attributes:

sig       signature; is always "SDLCSuite"
vers     version string
dim       dimension of the matrix (always 4 for TMat4D)
id         name of matrix as defined by the parameter DataID

example:

 <matrix sig="SDLCSuite" vers="1.0" dim="2" id="Testmatrix">
<numcols> specifies the number of columns

example:

<numcols>4</numcols>
<numrows> specifies the number of rows

example:

<numrows>13</numrows>
<numplanes> specifies the number of layers in a 4D hypercube matrix

example:

<numplanes>3</numplanes>
<numtimeslots> specifies the number of time slots in a 4D hypercube matrix

example:

<numtimeslots>5</numtimeslots>
<cell > cell contents

ix     column index of the cell
iy     row index of the cell
il     layer index of the cell
it     time slot index of the cell

example:

<cell ix="2" iy="3" il="1" it="4">17.332</cell>

Hint: The export procedure stores only non-zero values in the file. This makes the XML file considerably shorter for matrices containing many zero elements.

Example XML-File
<?xml version="1.0"?>
<!-- TMat4D / SDL Component Suite -->
<matrix sig="SDLCSuite" vers="1.0" dim="4" id="ImageLab RawData">
<numcols>120</numcols>
<numrows>120</numrows>
<numplanes>4</numplanes>
<numtimeslots>1</numtimeslots>
<cell ix="1" iy="1" il="1" it="1">0,00886568083375175</cell>
<cell ix="3" iy="1" il="1" it="1">0,017590204869168</cell>
<cell ix="1" iy="2" il="1" it="1">0,0184575952799593</cell>
<cell ix="3" iy="2" il="1" it="1">0,0193564112847596</cell>
<cell ix="1" iy="3" il="1" it="4">0,0232147351417476</cell>
<cell ix="3" iy="3" il="1" it="4">0,0221874195264738</cell>
<cell ix="4" iy="3" il="2" it="4">0,0248757163841858</cell>
<cell ix="1" iy="5" il="2" it="4">0,027542476706961</cell>
<cell ix="2" iy="11" il="2" it="4">0,0279564256864407</cell>
<cell ix="1" iy="13" il="2" it="4">0,0280776833820921</cell>
...
...
...
</matrix>