<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="nxdlformat.xsl" ?>
<!-- 
  # NeXus - Neutron and X-ray Common Data Format
  # 
  # Copyright (C) 2014-2020 NeXus International Advisory Committee (NIAC)
  # 
  # This library is free software; you can redistribute it and/or
  # modify it under the terms of the GNU Lesser General Public
  # License as published by the Free Software Foundation; either
  # version 3 of the License, or (at your option) any later version. 
  # 
  # This library is distributed in the hope that it will be useful,
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  # Lesser General Public License for more details.
  #
  # You should have received a copy of the GNU Lesser General Public
  # License along with this library; if not, write to the Free Software
  # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  #
  # For further information, see http://www.nexusformat.org 
-->
<definition type="group" name="NXcite" category="base"
	extends="NXobject" xmlns="http://definition.nexusformat.org/nxdl/3.1"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://definition.nexusformat.org/nxdl/3.1 ../nxdl.xsd"
	>
	<doc>
		A literature reference
		
		Definition to include references for example for detectors,
		manuals, instruments, acquisition or analysis software used.
		
		The idea would be to include this in the relevant NeXus object:
		:ref:`NXdetector` for detectors, :ref:`NXinstrument` for instruments, etc.
	</doc>
	<field name="description" type="NX_CHAR">
		<doc>
			This should describe the reason for including this reference.
			For example: The dataset in this group was normalised using the method 
			which is described in detail in this reference.
		</doc>
	</field>
	<field name="url" type="NX_CHAR">
		<doc>URL referencing the document or data.</doc>
	</field>
	<field name="doi" type="NX_CHAR">
		<doc>DOI referencing the document or data.</doc>
	</field>
	<field name="endnote" type="NX_CHAR">
		<doc>Bibliographic reference data in EndNote format.</doc>
	</field>
	<field name="bibtex" type="NX_CHAR">
		<doc>Bibliographic reference data in BibTeX format.</doc>
	</field>
</definition>
