mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-15 07:40:23 +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.7 KiB
XML
56 lines
1.7 KiB
XML
#############################
|
|
Expected output for 'h5dump --xml tstring.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="7" MaxDimSize="7"/>
|
|
</SimpleDataspace>
|
|
</Dataspace>
|
|
<DataType>
|
|
<AtomicType>
|
|
<StringType Cset="H5T_CSET_ASCII" StrSize="16" StrPad="H5T_STR_SPACEPAD"/>
|
|
</AtomicType>
|
|
</DataType>
|
|
<Attribute Name="attr1">
|
|
<Dataspace>
|
|
<SimpleDataspace Ndims="1">
|
|
<Dimension DimSize="7" MaxDimSize="7"/>
|
|
</SimpleDataspace>
|
|
</Dataspace>
|
|
<DataType>
|
|
<AtomicType>
|
|
<StringType Cset="H5T_CSET_ASCII" StrSize="16" StrPad="H5T_STR_SPACEPAD"/>
|
|
</AtomicType>
|
|
</DataType>
|
|
<Data>
|
|
<DataFromFile>
|
|
" "
|
|
" "
|
|
" "
|
|
" "
|
|
" "
|
|
" "
|
|
" "
|
|
</DataFromFile>
|
|
</Data>
|
|
</Attribute>
|
|
<Data>
|
|
<DataFromFile>
|
|
"String withsp "
|
|
"String\\withsl "
|
|
"String&withamp "
|
|
"String<withlt "
|
|
"String>withgt "
|
|
"String'withapos "
|
|
"String\"withquot "
|
|
</DataFromFile>
|
|
</Data>
|
|
</Dataset>
|
|
</RootGroup>
|
|
</HDF5-File>
|