mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-27 08:01:04 +08:00
d12fa9b5c5
Adding new feature. Description: XML output option to h5dump Platforms tested: SPARC Solaris 2.7, Irix6.5 (32bit), Linux, Win98
40 lines
1.2 KiB
XML
40 lines
1.2 KiB
XML
#############################
|
|
Expected output for 'h5dump --xml thlink.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="dset1" OBJ-XID="/dset1" Parents="root">
|
|
<Dataspace>
|
|
<SimpleDataspace Ndims="1">
|
|
<Dimension DimSize="5" MaxDimSize="5"/>
|
|
</SimpleDataspace>
|
|
</Dataspace>
|
|
<DataType>
|
|
<AtomicType>
|
|
<IntegerType ByteOrder="BE" Sign="true" Size="4" />
|
|
</AtomicType>
|
|
</DataType>
|
|
<Data>
|
|
<DataFromFile>
|
|
0 1 2 3 4
|
|
</DataFromFile>
|
|
</Data>
|
|
</Dataset>
|
|
<Group Name="g1" OBJ-XID="/g1" Parents="/" >
|
|
<Dataset Name="dset2" OBJ-XID="/g1" Parents="/g1">
|
|
<DatasetPtr OBJ-XID="/dset1"/>
|
|
</Dataset>
|
|
<Group Name="g1.1" OBJ-XID="/g1/g1.1" Parents="/g1" >
|
|
<Dataset Name="dset3" OBJ-XID="/g1/g1.1" Parents="/g1/g1.1">
|
|
<DatasetPtr OBJ-XID="/dset1"/>
|
|
</Dataset>
|
|
</Group>
|
|
</Group>
|
|
<Group Name="g2" OBJ-XID="/g2" Parents="/" >
|
|
<GroupPtr OBJ-XID="/g1/g1.1"/>
|
|
</Group>
|
|
</RootGroup>
|
|
</HDF5-File>
|