mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-09 07:32:32 +08:00
d12fa9b5c5
Adding new feature. Description: XML output option to h5dump Platforms tested: SPARC Solaris 2.7, Irix6.5 (32bit), Linux, Win98
126 lines
3.9 KiB
XML
126 lines
3.9 KiB
XML
#############################
|
|
Expected output for 'h5dump --xml tempty.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">
|
|
<Dataset Name="Dataset1.0" OBJ-XID="/Dataset1.0" Parents="root">
|
|
<Dataspace>
|
|
<SimpleDataspace Ndims="1">
|
|
<Dimension DimSize="4" MaxDimSize="4"/>
|
|
</SimpleDataspace>
|
|
</Dataspace>
|
|
<DataType>
|
|
<VLType>
|
|
<DataType>
|
|
<AtomicType>
|
|
<IntegerType ByteOrder="LE" Sign="true" Size="4" />
|
|
</AtomicType>
|
|
</DataType>
|
|
</VLType>
|
|
</DataType>
|
|
<!-- Note: format of VL data not specified -->
|
|
<Data>
|
|
<DataFromFile>
|
|
|
|
</DataFromFile>
|
|
</Data>
|
|
</Dataset>
|
|
<Dataset Name="Dataset2.0" OBJ-XID="/Dataset2.0" Parents="root">
|
|
<Dataspace>
|
|
<SimpleDataspace Ndims="1">
|
|
<Dimension DimSize="4" MaxDimSize="4"/>
|
|
</SimpleDataspace>
|
|
</Dataspace>
|
|
<DataType>
|
|
<AtomicType>
|
|
<IntegerType ByteOrder="LE" Sign="true" Size="4" />
|
|
</AtomicType>
|
|
</DataType>
|
|
<Data>
|
|
<DataFromFile>
|
|
0 0 0 0
|
|
</DataFromFile>
|
|
</Data>
|
|
</Dataset>
|
|
<Dataset Name="Dataset3.0" OBJ-XID="/Dataset3.0" Parents="root">
|
|
<Dataspace>
|
|
<SimpleDataspace Ndims="1">
|
|
<Dimension DimSize="4" MaxDimSize="4"/>
|
|
</SimpleDataspace>
|
|
</Dataspace>
|
|
<DataType>
|
|
<AtomicType>
|
|
<FloatType ByteOrder="LE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" />
|
|
</AtomicType>
|
|
</DataType>
|
|
<Data>
|
|
<DataFromFile>
|
|
0 0 0 0
|
|
</DataFromFile>
|
|
</Data>
|
|
</Dataset>
|
|
<Dataset Name="Dataset4.0" OBJ-XID="/Dataset4.0" Parents="root">
|
|
<Dataspace>
|
|
<SimpleDataspace Ndims="1">
|
|
<Dimension DimSize="4" MaxDimSize="4"/>
|
|
</SimpleDataspace>
|
|
</Dataspace>
|
|
<DataType>
|
|
<ArrayType Ndims="1">
|
|
<ArrayDimension DimSize="4" DimPerm="0"/>
|
|
<DataType>
|
|
<AtomicType>
|
|
<IntegerType ByteOrder="LE" Sign="true" Size="4" />
|
|
</AtomicType>
|
|
</DataType>
|
|
</ArrayType>
|
|
</DataType>
|
|
<Data>
|
|
<DataFromFile>
|
|
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
|
|
</DataFromFile>
|
|
</Data>
|
|
</Dataset>
|
|
<Dataset Name="Dataset5.0" OBJ-XID="/Dataset5.0" Parents="root">
|
|
<Dataspace>
|
|
<SimpleDataspace Ndims="1">
|
|
<Dimension DimSize="4" MaxDimSize="4"/>
|
|
</SimpleDataspace>
|
|
</Dataspace>
|
|
<DataType>
|
|
<CompoundType>
|
|
<Field FieldName="a">
|
|
<DataType>
|
|
<AtomicType>
|
|
<IntegerType ByteOrder="LE" Sign="true" Size="4" />
|
|
</AtomicType>
|
|
</DataType>
|
|
</Field>
|
|
<Field FieldName="b">
|
|
<DataType>
|
|
<AtomicType>
|
|
<FloatType ByteOrder="LE" Size="4" SignBitLocation="31" ExponentBits="8" ExponentLocation="23" MantissaBits="23" MantissaLocation="0" />
|
|
</AtomicType>
|
|
</DataType>
|
|
</Field>
|
|
<Field FieldName="c">
|
|
<DataType>
|
|
<AtomicType>
|
|
<IntegerType ByteOrder="LE" Sign="true" Size="1" />
|
|
</AtomicType>
|
|
</DataType>
|
|
</Field>
|
|
</CompoundType>
|
|
</DataType>
|
|
<!-- Note: format of compound data not specified -->
|
|
<Data>
|
|
<DataFromFile>
|
|
0 0 0 0 0 0 0 0 0 0 0 0
|
|
</DataFromFile>
|
|
</Data>
|
|
</Dataset>
|
|
</RootGroup>
|
|
</HDF5-File>
|