mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
d12fa9b5c5
Adding new feature. Description: XML output option to h5dump Platforms tested: SPARC Solaris 2.7, Irix6.5 (32bit), Linux, Win98
56 lines
1.8 KiB
XML
56 lines
1.8 KiB
XML
#############################
|
|
Expected output for 'h5dump --xml tname-gt.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">
|
|
<Attribute Name="attr1>withgt">
|
|
<Dataspace>
|
|
<SimpleDataspace Ndims="1">
|
|
<Dimension DimSize="10" MaxDimSize="10"/>
|
|
</SimpleDataspace>
|
|
</Dataspace>
|
|
<DataType>
|
|
<AtomicType>
|
|
<IntegerType ByteOrder="BE" Sign="true" Size="1" />
|
|
</AtomicType>
|
|
</DataType>
|
|
<Data>
|
|
<DataFromFile>
|
|
97 98 99 100 101 102 103 104 105 0
|
|
</DataFromFile>
|
|
</Data>
|
|
</Attribute>
|
|
<Group Name="g1.1>withgt" OBJ-XID="/g1.1>withgt" Parents="/" >
|
|
<Dataset Name="dset1.1.1>withgt" OBJ-XID="/g1.1>withgt/dset1.1.1>withgt" Parents="/g1.1>withgt">
|
|
<Dataspace>
|
|
<SimpleDataspace Ndims="2">
|
|
<Dimension DimSize="10" MaxDimSize="10"/>
|
|
<Dimension DimSize="10" MaxDimSize="10"/>
|
|
</SimpleDataspace>
|
|
</Dataspace>
|
|
<DataType>
|
|
<AtomicType>
|
|
<IntegerType ByteOrder="BE" Sign="true" Size="4" />
|
|
</AtomicType>
|
|
</DataType>
|
|
<Data>
|
|
<DataFromFile>
|
|
0 0 0 0 0 0 0 0 0 0
|
|
0 1 2 3 4 5 6 7 8 9
|
|
0 2 4 6 8 10 12 14 16 18
|
|
0 3 6 9 12 15 18 21 24 27
|
|
0 4 8 12 16 20 24 28 32 36
|
|
0 5 10 15 20 25 30 35 40 45
|
|
0 6 12 18 24 30 36 42 48 54
|
|
0 7 14 21 28 35 42 49 56 63
|
|
0 8 16 24 32 40 48 56 64 72
|
|
0 9 18 27 36 45 54 63 72 81
|
|
</DataFromFile>
|
|
</Data>
|
|
</Dataset>
|
|
</Group>
|
|
</RootGroup>
|
|
</HDF5-File>
|