############################# Expected output for 'h5dump --xml tstring-at.h5' ############################# <?xml version="1.0" encoding="UTF-8"?> <hdf5:HDF5-File xmlns:hdf5="http://hdf.ncsa.uiuc.edu/DTDs/HDF5-File" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hdf.ncsa.uiuc.edu/DTDs/HDF5File http://hdf.ncsa.uiuc.edu/DTDs/HDF5-File.xsd"> <hdf5:RootGroup OBJ-XID="xid_696" H5Path="/"> <hdf5:Dataset Name="dset1" OBJ-XID="xid_744" H5Path= "/dset1" Parents="xid_696" H5ParentPaths="/"> <hdf5:StorageLayout> <hdf5:ContiguousLayout/> </hdf5:StorageLayout> <hdf5:FillValueInfo FillTime="FillIfSet" AllocationTime="Late"> <hdf5:FillValue> <hdf5:NoFill/> </hdf5:FillValue> </hdf5:FillValueInfo> <hdf5:Dataspace> <hdf5:SimpleDataspace Ndims="1"> <hdf5:Dimension DimSize="7" MaxDimSize="7"/> </hdf5:SimpleDataspace> </hdf5:Dataspace> <hdf5:DataType> <hdf5:AtomicType> <hdf5:StringType Cset="H5T_CSET_ASCII" StrSize="16" StrPad="H5T_STR_SPACEPAD"/> </hdf5:AtomicType> </hdf5:DataType> <hdf5:Attribute Name="attr1"> <hdf5:Dataspace> <hdf5:SimpleDataspace Ndims="1"> <hdf5:Dimension DimSize="7" MaxDimSize="7"/> </hdf5:SimpleDataspace> </hdf5:Dataspace> <hdf5:DataType> <hdf5:AtomicType> <hdf5:StringType Cset="H5T_CSET_ASCII" StrSize="16" StrPad="H5T_STR_SPACEPAD"/> </hdf5:AtomicType> </hdf5:DataType> <hdf5:Data> <hdf5:DataFromFile> "String withsp " "String\\withsl " "String&withamp " "String<withlt " "String>withgt " "String'withapos " "String\"withquot " </hdf5:DataFromFile> </hdf5:Data> </hdf5:Attribute> <hdf5:Data> <hdf5:DataFromFile> "" "" "" "" "" "" "" </hdf5:DataFromFile> </hdf5:Data> </hdf5:Dataset> </hdf5:RootGroup> </hdf5:HDF5-File>