2001-02-15 04:48:22 +08:00
|
|
|
#############################
|
|
|
|
Expected output for 'h5dump --xml tenum.h5'
|
|
|
|
#############################
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!DOCTYPE HDF5-File PUBLIC "HDF5-File.dtd" "http://hdf.ncsa.uiuc.edu/DTDs/HDF5-File.dtd">
|
|
|
|
<HDF5-File>
|
|
|
|
<RootGroup OBJ-XID="root">
|
|
|
|
<NamedDataType Name="enum normal" OBJ-XID="/enum normal" Parents="root">
|
|
|
|
<AtomicType>
|
|
|
|
<EnumType Nelems="5">
|
|
|
|
<EnumElement>
|
|
|
|
RED
|
|
|
|
</EnumElement>
|
|
|
|
<EnumValue>
|
|
|
|
0
|
|
|
|
</EnumValue>
|
|
|
|
<EnumElement>
|
|
|
|
GREEN
|
|
|
|
</EnumElement>
|
|
|
|
<EnumValue>
|
|
|
|
1
|
|
|
|
</EnumValue>
|
|
|
|
<EnumElement>
|
|
|
|
BLUE
|
|
|
|
</EnumElement>
|
|
|
|
<EnumValue>
|
|
|
|
2
|
|
|
|
</EnumValue>
|
|
|
|
<EnumElement>
|
|
|
|
WHITE
|
|
|
|
</EnumElement>
|
|
|
|
<EnumValue>
|
|
|
|
3
|
|
|
|
</EnumValue>
|
|
|
|
<EnumElement>
|
|
|
|
BLACK
|
|
|
|
</EnumElement>
|
|
|
|
<EnumValue>
|
|
|
|
4
|
|
|
|
</EnumValue>
|
|
|
|
</EnumType>
|
|
|
|
</AtomicType>
|
|
|
|
</NamedDataType>
|
2001-03-22 06:52:11 +08:00
|
|
|
<Dataset Name="table" OBJ-XID="/table" Parents="root">
|
|
|
|
<Dataspace>
|
|
|
|
<SimpleDataspace Ndims="1">
|
|
|
|
<Dimension DimSize="20" MaxDimSize="20"/>
|
|
|
|
</SimpleDataspace>
|
|
|
|
</Dataspace>
|
|
|
|
<NamedDataTypePtr OBJ-XID="/enum normal"/>
|
|
|
|
<Data>
|
|
|
|
<DataFromFile>
|
|
|
|
RED GREEN BLUE GREEN WHITE WHITE BLACK GREEN BLUE RED RED BLUE GREEN
|
|
|
|
BLACK WHITE RED WHITE GREEN GREEN BLUE
|
|
|
|
</DataFromFile>
|
|
|
|
</Data>
|
|
|
|
</Dataset>
|
2001-02-15 04:48:22 +08:00
|
|
|
</RootGroup>
|
|
|
|
</HDF5-File>
|