Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
7f81fee2
Commit
7f81fee2
authored
9 years ago
by
Gigg, Martyn Anthony
Browse files
Options
Downloads
Patches
Plain Diff
Update the IDF documentation to include xsd attributes
Refs #11463
parent
2c918891
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Code/Mantid/docs/source/concepts/InstrumentDefinitionFile.rst
+7
-2
7 additions, 2 deletions
.../Mantid/docs/source/concepts/InstrumentDefinitionFile.rst
with
7 additions
and
2 deletions
Code/Mantid/docs/source/concepts/InstrumentDefinitionFile.rst
+
7
−
2
View file @
7f81fee2
...
@@ -162,18 +162,23 @@ For information on how to define geometric shapes see
...
@@ -162,18 +162,23 @@ For information on how to define geometric shapes see
Top level <instrument>
Top level <instrument>
~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~
<instrument> is the top level XML element of an IDF. It takes attributes, t
wo
of
<instrument> is the top level XML element of an IDF. It takes attributes, t
hree
of
which must be included. An example is
which must be included. An example is
.. code-block:: xml
.. code-block:: xml
<instrument name="ARCS"
<instrument xmlns="http://www.mantidproject.org/IDF/1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.mantidproject.org/IDF/1.0 http://schema.mantidproject.org/IDF/1.0/IDFSchema.xsd"
name="ARCS"
valid-from="1900-01-31 23:59:59"
valid-from="1900-01-31 23:59:59"
valid-to="2100-01-31 23:59:59"
valid-to="2100-01-31 23:59:59"
last-modified="2010-10-12 08:54:07.279621">
last-modified="2010-10-12 08:54:07.279621">
Of the four attributes in the example above
Of the four attributes in the example above
- xmlns, xmlns:xsi, xsi:schemaLocation are required attributes that can
be copied verbatim as above
- name is (at present) optional, although it is recommended to specify
- name is (at present) optional, although it is recommended to specify
something sensible
something sensible
- valid-from is compulsory and is the date from which the IDF is valid
- valid-from is compulsory and is the date from which the IDF is valid
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment