diff options
author | Robert E. McGrath <mcgrath@ncsa.uiuc.edu> | 2001-02-14 20:48:22 (GMT) |
---|---|---|
committer | Robert E. McGrath <mcgrath@ncsa.uiuc.edu> | 2001-02-14 20:48:22 (GMT) |
commit | d12fa9b5c5ff0eb1919eb4233845867dcc6c63c0 (patch) | |
tree | e3e3ee06aec1b37f1f6ade374a1bc8292cb7ce1d /tools/testfiles/tattr.h5.xml | |
parent | a66186cc0dd49a1800c56688e5347fc39abb8c3a (diff) | |
download | hdf5-d12fa9b5c5ff0eb1919eb4233845867dcc6c63c0.zip hdf5-d12fa9b5c5ff0eb1919eb4233845867dcc6c63c0.tar.gz hdf5-d12fa9b5c5ff0eb1919eb4233845867dcc6c63c0.tar.bz2 |
[svn-r3408] Purpose:
Adding new feature.
Description:
XML output option to h5dump
Platforms tested:
SPARC Solaris 2.7, Irix6.5 (32bit), Linux, Win98
Diffstat (limited to 'tools/testfiles/tattr.h5.xml')
-rw-r--r-- | tools/testfiles/tattr.h5.xml | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/tools/testfiles/tattr.h5.xml b/tools/testfiles/tattr.h5.xml new file mode 100644 index 0000000..757b297 --- /dev/null +++ b/tools/testfiles/tattr.h5.xml @@ -0,0 +1,91 @@ +############################# +Expected output for 'h5dump --xml tattr.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"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="24" MaxDimSize="24"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="1" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 97 116 116 114 105 98 117 116 101 32 111 102 32 114 111 111 116 32 103 + 114 111 117 112 0 + </DataFromFile> + </Data> + </Attribute> + <Attribute Name="attr2"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="10" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 1 2 3 4 5 6 7 8 9 10 + </DataFromFile> + </Data> + </Attribute> + <Attribute Name="attr3"> + <Dataspace> + <SimpleDataspace Ndims="1"> + <Dimension DimSize="10" MaxDimSize="10"/> + </SimpleDataspace> + </Dataspace> + <DataType> + <AtomicType> + <FloatType ByteOrder="BE" Size="8" SignBitLocation="63" ExponentBits="11" ExponentLocation="52" MantissaBits="52" MantissaLocation="0" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 + </DataFromFile> + </Data> + </Attribute> + <Attribute Name="attr4"> + <Dataspace> + <ScalarDataspace /> + </Dataspace> + <DataType> + <AtomicType> + <IntegerType ByteOrder="BE" Sign="true" Size="4" /> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + 100 + </DataFromFile> + </Data> + </Attribute> + <Attribute Name="attr5"> + <Dataspace> + <ScalarDataspace /> + </Dataspace> + <DataType> + <AtomicType> + <StringType Cset="H5T_CSET_ASCII" StrSize="17" StrPad="H5T_STR_NULLTERM"/> + </AtomicType> + </DataType> + <Data> + <DataFromFile> + "string attribute" + </DataFromFile> + </Data> + </Attribute> +</RootGroup> +</HDF5-File> |