[Nexus] NeXus XML Meta-DTD format
Ray Osborn
ROsborn at anl.gov
Mon Oct 24 19:18:17 BST 2005
On 2005/10/24 7:33, "Jens Krüger" <Jens.Krueger at frm2.tum.de> wrote:
> Hmmm ... ,
>
> I agree with your interpretation, but my question goes more into
> this direction: Is the temperature entry mandatory or not, and if
> yes may it empty?
>
> This construct is used very often and I'm not sure how to interprete this.
>
> Jens
Jens,
Either an item is stored in a NeXus file with its appropriate value or it is
omitted altogether. An item should never be added without its value, except
perhaps in preparation for later updates. At least, that's my opinion -
does anyone disagree?
In this case, the question mark means (a) that the temperature is an
optional item in an NXsample group, which is itself optional, and (b) that
there shouldn't be more than one of either. It is possible that a specific
instrument or other definition will supercede this and require the
temperature to be included, but that will be specified in the instrument
definition file.
Ray
> Am Montag, 24. Oktober 2005 14:12 schrieb Nick Maliszewskyj:
>> I believe the correct way to interpret this is:
>>
>> If the sample section exists, it may have a temperature
>> item. Or better yet, if there is a temperature item (at all)
>> it will be found in the sample section.
>>
>> Nick
>>
>> Jens Krüger wrote:
>>
>>> Reading the "NeXus Technical Reference Manual" chapter 2.1.(9)
>>> I found a some informations about the occurrence of some entries.
>>> My question, how the following part is to interprete?
>>>
>>> <NXsample>?
>>> <temperature>{Temperature of the sample}?</temperature>
>>> <NXsample>
>>>
>>> I understand as followed:
>>>
>>> The NXsample section may occur one time or not. If the NXsample
>>> section exist, the temperature section must exist, but it may be empty.
>>>
>>> Or should it be interpreted as
>>>
>>> <NXsample>?
>>> <temperature>?{Temperature of the sample}</temperature>
>>> <NXsample>
>>>
>>> in the NXsample section may exist a subsection temperature?
>>>
>>> Regards
>>>
>>> Jens
>>>
>>>
>>>
>>
--
Dr Ray Osborn Tel: +1 (630) 252-9011
Materials Science Division Fax: +1 (630) 252-7777
Argonne National Laboratory E-mail: ROsborn at anl.gov
Argonne, IL 60439-4845
More information about the NeXus
mailing list