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
197 lines
7.9 KiB
XML
197 lines
7.9 KiB
XML
#############################
|
|
Expected output for 'h5dump --xml tstr2.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">
|
|
<Group Name="g1" OBJ-XID="/g1" Parents="/" >
|
|
<Dataset Name="dset1" OBJ-XID="/g1/dset1" Parents="/g1">
|
|
<Dataspace>
|
|
<SimpleDataspace Ndims="1">
|
|
<Dimension DimSize="10" MaxDimSize="10"/>
|
|
</SimpleDataspace>
|
|
</Dataspace>
|
|
<DataType>
|
|
<AtomicType>
|
|
<StringType Cset="H5T_CSET_ASCII" StrSize="50" StrPad="H5T_STR_NULLTERM"/>
|
|
</AtomicType>
|
|
</DataType>
|
|
<Attribute Name="attr1">
|
|
<Dataspace>
|
|
<SimpleDataspace Ndims="1">
|
|
<Dimension DimSize="3" MaxDimSize="3"/>
|
|
</SimpleDataspace>
|
|
</Dataspace>
|
|
<DataType>
|
|
<AtomicType>
|
|
<StringType Cset="H5T_CSET_ASCII" StrSize="11" StrPad="H5T_STR_NULLTERM"/>
|
|
</AtomicType>
|
|
</DataType>
|
|
<Data>
|
|
<DataFromFile>
|
|
"0123456789"
|
|
"abcdefghij"
|
|
"ABCDEFGHIJ"
|
|
</DataFromFile>
|
|
</Data>
|
|
</Attribute>
|
|
<Data>
|
|
<DataFromFile>
|
|
"This is row 0 of type H5T_STR_NULLTERM of"
|
|
"This is row 1 of type H5T_STR_NULLTERM of"
|
|
"This is row 2 of type H5T_STR_NULLTERM of"
|
|
"This is row 3 of type H5T_STR_NULLTERM of"
|
|
"This is row 4 of type H5T_STR_NULLTERM of"
|
|
"This is row 5 of type H5T_STR_NULLTERM of"
|
|
"This is row 6 of type H5T_STR_NULLTERM of"
|
|
"This is row 7 of type H5T_STR_NULLTERM of"
|
|
"This is row 8 of type H5T_STR_NULLTERM of"
|
|
"This is row 9 of type H5T_STR_NULLTERM of"
|
|
</DataFromFile>
|
|
</Data>
|
|
</Dataset>
|
|
</Group>
|
|
<Group Name="g2" OBJ-XID="/g2" Parents="/" >
|
|
<Dataset Name="dset2" OBJ-XID="/g2/dset2" Parents="/g2">
|
|
<Dataspace>
|
|
<SimpleDataspace Ndims="1">
|
|
<Dimension DimSize="10" MaxDimSize="10"/>
|
|
</SimpleDataspace>
|
|
</Dataspace>
|
|
<DataType>
|
|
<AtomicType>
|
|
<StringType Cset="H5T_CSET_ASCII" StrSize="50" StrPad="H5T_STR_NULLTERM"/>
|
|
</AtomicType>
|
|
</DataType>
|
|
<Data>
|
|
<DataFromFile>
|
|
"This is row 0 of type H5T_STR_NULLTERM of string "
|
|
"This is row 1 of type H5T_STR_NULLTERM of string "
|
|
"This is row 2 of type H5T_STR_NULLTERM of string "
|
|
"This is row 3 of type H5T_STR_NULLTERM of string "
|
|
"This is row 4 of type H5T_STR_NULLTERM of string "
|
|
"This is row 5 of type H5T_STR_NULLTERM of string "
|
|
"This is row 6 of type H5T_STR_NULLTERM of string "
|
|
"This is row 7 of type H5T_STR_NULLTERM of string "
|
|
"This is row 8 of type H5T_STR_NULLTERM of string "
|
|
"This is row 9 of type H5T_STR_NULLTERM of string "
|
|
</DataFromFile>
|
|
</Data>
|
|
</Dataset>
|
|
</Group>
|
|
<Group Name="g3" OBJ-XID="/g3" Parents="/" >
|
|
<Dataset Name="dset3" OBJ-XID="/g3/dset3" Parents="/g3">
|
|
<Dataspace>
|
|
<SimpleDataspace Ndims="1">
|
|
<Dimension DimSize="10" MaxDimSize="10"/>
|
|
</SimpleDataspace>
|
|
</Dataspace>
|
|
<DataType>
|
|
<AtomicType>
|
|
<StringType Cset="H5T_CSET_ASCII" StrSize="50" StrPad="H5T_STR_NULLPAD"/>
|
|
</AtomicType>
|
|
</DataType>
|
|
<Data>
|
|
<DataFromFile>
|
|
"This is row 0 of type H5T_STR_NULLPAD of"
|
|
"This is row 1 of type H5T_STR_NULLPAD of"
|
|
"This is row 2 of type H5T_STR_NULLPAD of"
|
|
"This is row 3 of type H5T_STR_NULLPAD of"
|
|
"This is row 4 of type H5T_STR_NULLPAD of"
|
|
"This is row 5 of type H5T_STR_NULLPAD of"
|
|
"This is row 6 of type H5T_STR_NULLPAD of"
|
|
"This is row 7 of type H5T_STR_NULLPAD of"
|
|
"This is row 8 of type H5T_STR_NULLPAD of"
|
|
"This is row 9 of type H5T_STR_NULLPAD of"
|
|
</DataFromFile>
|
|
</Data>
|
|
</Dataset>
|
|
</Group>
|
|
<Group Name="g4" OBJ-XID="/g4" Parents="/" >
|
|
<Dataset Name="dset4" OBJ-XID="/g4/dset4" Parents="/g4">
|
|
<Dataspace>
|
|
<SimpleDataspace Ndims="1">
|
|
<Dimension DimSize="10" MaxDimSize="10"/>
|
|
</SimpleDataspace>
|
|
</Dataspace>
|
|
<DataType>
|
|
<AtomicType>
|
|
<StringType Cset="H5T_CSET_ASCII" StrSize="50" StrPad="H5T_STR_NULLPAD"/>
|
|
</AtomicType>
|
|
</DataType>
|
|
<Data>
|
|
<DataFromFile>
|
|
"This is row 0 of type H5T_STR_NULLPAD of string ar"
|
|
"This is row 1 of type H5T_STR_NULLPAD of string ar"
|
|
"This is row 2 of type H5T_STR_NULLPAD of string ar"
|
|
"This is row 3 of type H5T_STR_NULLPAD of string ar"
|
|
"This is row 4 of type H5T_STR_NULLPAD of string ar"
|
|
"This is row 5 of type H5T_STR_NULLPAD of string ar"
|
|
"This is row 6 of type H5T_STR_NULLPAD of string ar"
|
|
"This is row 7 of type H5T_STR_NULLPAD of string ar"
|
|
"This is row 8 of type H5T_STR_NULLPAD of string ar"
|
|
"This is row 9 of type H5T_STR_NULLPAD of string ar"
|
|
</DataFromFile>
|
|
</Data>
|
|
</Dataset>
|
|
</Group>
|
|
<Group Name="g5" OBJ-XID="/g5" Parents="/" >
|
|
<Dataset Name="dset5" OBJ-XID="/g5/dset5" Parents="/g5">
|
|
<Dataspace>
|
|
<SimpleDataspace Ndims="1">
|
|
<Dimension DimSize="10" MaxDimSize="10"/>
|
|
</SimpleDataspace>
|
|
</Dataspace>
|
|
<DataType>
|
|
<AtomicType>
|
|
<StringType Cset="H5T_CSET_ASCII" StrSize="50" StrPad="H5T_STR_SPACEPAD"/>
|
|
</AtomicType>
|
|
</DataType>
|
|
<Data>
|
|
<DataFromFile>
|
|
"This is row 0 of type H5T_STR_SPACEPAD of "
|
|
"This is row 1 of type H5T_STR_SPACEPAD of "
|
|
"This is row 2 of type H5T_STR_SPACEPAD of "
|
|
"This is row 3 of type H5T_STR_SPACEPAD of "
|
|
"This is row 4 of type H5T_STR_SPACEPAD of "
|
|
"This is row 5 of type H5T_STR_SPACEPAD of "
|
|
"This is row 6 of type H5T_STR_SPACEPAD of "
|
|
"This is row 7 of type H5T_STR_SPACEPAD of "
|
|
"This is row 8 of type H5T_STR_SPACEPAD of "
|
|
"This is row 9 of type H5T_STR_SPACEPAD of "
|
|
</DataFromFile>
|
|
</Data>
|
|
</Dataset>
|
|
</Group>
|
|
<Group Name="g6" OBJ-XID="/g6" Parents="/" >
|
|
<Dataset Name="dset6" OBJ-XID="/g6/dset6" Parents="/g6">
|
|
<Dataspace>
|
|
<SimpleDataspace Ndims="1">
|
|
<Dimension DimSize="10" MaxDimSize="10"/>
|
|
</SimpleDataspace>
|
|
</Dataspace>
|
|
<DataType>
|
|
<AtomicType>
|
|
<StringType Cset="H5T_CSET_ASCII" StrSize="50" StrPad="H5T_STR_SPACEPAD"/>
|
|
</AtomicType>
|
|
</DataType>
|
|
<Data>
|
|
<DataFromFile>
|
|
"This is row 0 of type H5T_STR_SPACEPAD of string a"
|
|
"This is row 1 of type H5T_STR_SPACEPAD of string a"
|
|
"This is row 2 of type H5T_STR_SPACEPAD of string a"
|
|
"This is row 3 of type H5T_STR_SPACEPAD of string a"
|
|
"This is row 4 of type H5T_STR_SPACEPAD of string a"
|
|
"This is row 5 of type H5T_STR_SPACEPAD of string a"
|
|
"This is row 6 of type H5T_STR_SPACEPAD of string a"
|
|
"This is row 7 of type H5T_STR_SPACEPAD of string a"
|
|
"This is row 8 of type H5T_STR_SPACEPAD of string a"
|
|
"This is row 9 of type H5T_STR_SPACEPAD of string a"
|
|
</DataFromFile>
|
|
</Data>
|
|
</Dataset>
|
|
</Group>
|
|
</RootGroup>
|
|
</HDF5-File>
|