[Nexus] Fwd: Re: [NeXus-tech] XML and new attribute
Pete Jemian
jemian at anl.gov
Fri Feb 13 16:40:55 GMT 2015
I agree with this suggestion.
On 2/13/2015 9:07 AM, Eugen Wintersberger wrote:
> One thing that we may should do is treat attributes more like fields (in
> particular since we want to support multidimensional attributes. In this
> case an attribute would look like this (I guess)
>
> <attribute name="vector" type="NX_FLOAT">
> <dimensions rank="1">
> <dim value="3" index="1"/>
> </dimensions>
> <enumeration>
> <item><value>0 1 0</value></item>
> </enumeration>
> </attribute>
>
> In this case we can restrict ourselves to a list of elements separated
> by blanks. As the rank is provided by the dimensions tag we do not need
> to embrace the value with [ and ].
--
----------------------------------------------------------
Pete R. Jemian, Ph.D. <jemian at anl.gov>
Beam line Controls and Data Acquisition, Group Leader
Advanced Photon Source, Argonne National Laboratory
Argonne, IL 60439 630 - 252 - 3189
-----------------------------------------------------------
Education is the one thing for which people
are willing to pay yet not receive.
-----------------------------------------------------------
More information about the NeXus
mailing list