<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.cansas.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=164.54.96.62</id>
	<title>canSAS - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.cansas.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=164.54.96.62"/>
	<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=Special:Contributions/164.54.96.62"/>
	<updated>2026-05-06T16:36:07Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.4</generator>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_SAScollimation&amp;diff=368</id>
		<title>cansas1d SAScollimation</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_SAScollimation&amp;diff=368"/>
		<updated>2008-04-25T18:14:15Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: clarification per email discussion: see Mar 22-25 on http://smallangles.net/pipermail/cansas-1dwg_smallangles.net/2008-March.txt&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;gallery caption=&amp;quot;block diagrams&amp;quot;&amp;gt;&lt;br /&gt;
Image:cansas1d-v1-6-SAScollimation.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== SAScollimation ==&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Name&lt;br /&gt;
! {{Headcellstyle}} | Type&lt;br /&gt;
! {{Headcellstyle}} | occurrence&lt;br /&gt;
! {{Headcellstyle}} | Description&lt;br /&gt;
! {{Headcellstyle}} | Attributes&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;distance&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Amount/length of collimation inserted (on a SANS instrument)&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;unit&#039;&#039;&#039;&#039;&#039;=&amp;quot;{unit}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| [[#aperture | &#039;&#039;&#039;&#039;&#039;aperture&#039;&#039;&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..unbounded]&lt;br /&gt;
|| Description of a slit or aperture.  &amp;lt;br /&amp;gt; &#039;&#039;&#039;&#039;&#039;name&#039;&#039;&#039;&#039;&#039;: Optional name attribute for this aperture.  &amp;lt;br /&amp;gt; &#039;&#039;&#039;&#039;&#039;type&#039;&#039;&#039;&#039;&#039;: Optional text attribute to describe the type aperture (pinhole, 4-blade slit, Soller slit, ...). &lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;name&#039;&#039;&#039;&#039;&#039;=&amp;quot;{name}&amp;quot; &amp;lt;br /&amp;gt; &#039;&#039;&#039;&#039;&#039;type&#039;&#039;&#039;&#039;&#039;=&amp;quot;{type}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== aperture ==&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Name&lt;br /&gt;
! {{Headcellstyle}} | Type&lt;br /&gt;
! {{Headcellstyle}} | occurrence&lt;br /&gt;
! {{Headcellstyle}} | Description&lt;br /&gt;
! {{Headcellstyle}} | Attributes&lt;br /&gt;
|-&lt;br /&gt;
|| [[#size | &#039;&#039;&#039;&#039;&#039;size&#039;&#039;&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Opening dimensions of this aperture. &lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;name&#039;&#039;&#039;&#039;&#039;=&amp;quot;{name}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;distance&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Distance from this collimation element to the sample. &lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;unit&#039;&#039;&#039;&#039;&#039;=&amp;quot;{unit}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== size ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery caption=&amp;quot;geometry&amp;quot;&amp;gt;&lt;br /&gt;
Image:Translation-orientation-geometry.jpg    | from source&lt;br /&gt;
Image:Translation-orientation-geometry-2.jpg  | from detector&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Name&lt;br /&gt;
! {{Headcellstyle}} | Type&lt;br /&gt;
! {{Headcellstyle}} | occurrence&lt;br /&gt;
! {{Headcellstyle}} | Description&lt;br /&gt;
! {{Headcellstyle}} | Attributes&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;x&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Dimension of the collimation in X. &lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;y&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Dimension of the collimation in Y. &lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;z&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Dimension of the collimation in Z. &lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.  Note: While Z dimension is allowed by the standard (provided by use of a standard element in the XML Schema), it does not make sense for small-angle scattering.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_documentation&amp;diff=344</id>
		<title>cansas1d documentation</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_documentation&amp;diff=344"/>
		<updated>2008-04-15T17:12:35Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: /* Basic elements of the cansas1d/1.0 standard */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Disclaimer =&lt;br /&gt;
&lt;br /&gt;
This description is meant to inform the community how to layout&lt;br /&gt;
the information within the XML files.  However, should the&lt;br /&gt;
information in this document and the [[cansas1d.xsd | canSAS 1D SAS XML Schema]]&lt;br /&gt;
differ, the XML Schema will be deemed to have the most correct description&lt;br /&gt;
of the standard.&lt;br /&gt;
&lt;br /&gt;
= General Layout of the XML Data =&lt;br /&gt;
&lt;br /&gt;
== overview ==&lt;br /&gt;
&lt;br /&gt;
[[Image:cansas1d-v1-1-SASroot.png|thumb|block diagram at [[cansas1d_SASroot | SASroot]] level]]&lt;br /&gt;
&lt;br /&gt;
The basic elements of the cansas1d/1.0 standard are shown in the following table.&lt;br /&gt;
After an XML header, the root element of the file is [[cansas1d_SASroot | SASroot]] which &lt;br /&gt;
contains one or more [[cansas1d_SASentry | SASentry]] elements, each of which describes&lt;br /&gt;
a single experiment (data set, time-slice, step in a series, new &lt;br /&gt;
sample, etc.).  Details of the [[cansas1d_SASentry | SASentry]] element are also&lt;br /&gt;
shown in the next figure.  Refer to the [[cansas1d_block_diagrams | block diagrams]] &lt;br /&gt;
for alternative depictions.  See [[cansas1d.xml]] for an example XML file.&lt;br /&gt;
Examples, Case Studies, and other background information are below.  More discussion can be found on the [[1D_Data_Formats_Working_Group|canSAS 1D Data Formats Working Group]] page and its [[Talk:1D_Data_Formats_Working_Group|discussion]] page.  Details about &lt;br /&gt;
each specific field (XPath string, XML elements and attributes) are described &lt;br /&gt;
on the [[cansas1d_definition_of_terms]] page.&lt;br /&gt;
&lt;br /&gt;
=== Basic elements of the cansas1d/1.0 standard ===&lt;br /&gt;
(--[[User:164.54.96.62|164.54.96.62]] 13:08, 15 April 2008 (EDT): table is under construction)&lt;br /&gt;
&lt;br /&gt;
{| &lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | element&lt;br /&gt;
|| &amp;amp;nbsp;&lt;br /&gt;
! {{Headcellstyle}} | description&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
[[cansas1d_XML_header | XML header]]&lt;br /&gt;
||&lt;br /&gt;
||descriptive info required at the start of every XML file&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:[[cansas1d_SASroot | SASroot]]&lt;br /&gt;
||&lt;br /&gt;
||&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::[[cansas1d_SASentry | SASentry]]&lt;br /&gt;
||&lt;br /&gt;
||data set, time-slice, step in a series, new sample, etc.&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::Title&lt;br /&gt;
||&lt;br /&gt;
||for this particular SASentry&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::Run&lt;br /&gt;
||&lt;br /&gt;
||run number or ID number of experiment&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::[[cansas1d_any | {any}]]&lt;br /&gt;
||&lt;br /&gt;
||any non-cansas1d/1.0 element can be used at this point&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::[[cansas1d_SASdata | SASdata]]&lt;br /&gt;
||&lt;br /&gt;
||this is where the reduced 1-D SAS data is stored&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::[[cansas1d_Idata | Idata]]&lt;br /&gt;
||&lt;br /&gt;
||a single data point in the dataset&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::[[cansas1d_any | {any}]]&lt;br /&gt;
||&lt;br /&gt;
||any non-cansas1d/1.0 element can be used at this point&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::[[cansas1d_SASsample | SASsample]]&lt;br /&gt;
||&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::ID&lt;br /&gt;
||&lt;br /&gt;
||description of this sample&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::thickness&lt;br /&gt;
||&lt;br /&gt;
||thickness of this sample&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::transmission&lt;br /&gt;
||&lt;br /&gt;
||transmission of this sample&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::temperature&lt;br /&gt;
||&lt;br /&gt;
||temperature of this sample&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::[[cansas1d_position | position]]&lt;br /&gt;
||&lt;br /&gt;
||position of this sample&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::[[cansas1d_orientation | orientation]]&lt;br /&gt;
||&lt;br /&gt;
||rotation of this sample&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::details&lt;br /&gt;
||&lt;br /&gt;
||any other details about this sample&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::[[cansas1d_any | {any}]]&lt;br /&gt;
||&lt;br /&gt;
||any non-cansas1d/1.0 element can be used at this point&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::[[cansas1d_SASinstrument | SASinstrument]]&lt;br /&gt;
||&lt;br /&gt;
||&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::[[cansas1d_SASsource | SASsource]]&lt;br /&gt;
||&lt;br /&gt;
||&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::[[cansas1d_SAScollimation | SAScollimation]]&lt;br /&gt;
||&lt;br /&gt;
||&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::[[cansas1d_SASdetector | SASdetector]]&lt;br /&gt;
||&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::[[cansas1d_SASprocess | SASprocess]]&lt;br /&gt;
||&lt;br /&gt;
||for each processing or analysis step&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::[[cansas1d_SASnote | SASnote]]&lt;br /&gt;
||&lt;br /&gt;
||anything at all&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== required XML file header ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;?xml-stylesheet type=&amp;quot;text/xsl&amp;quot; href=&amp;quot;example.xsl&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;SASroot version=&amp;quot;1.0&amp;quot;&lt;br /&gt;
    xmlns=&amp;quot;cansas1d/1.0&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&lt;br /&gt;
    xsi:schemaLocation=&amp;quot;cansas1d/1.0 http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd&amp;quot;&lt;br /&gt;
    &amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Rules ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Q-geometry.jpg|thumb|definition of Q geometry for small-angle scattering]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Translation-orientation-geometry-2.jpg|thumb|definition of translation and orientation geometry]]&lt;br /&gt;
&lt;br /&gt;
# canSAS1d/1.0 XML data files will adhere to the standard if they can successfully [[cansas1d_documentation#Validation_of_XML_against_the_Schema | validate]] against the established XML Schema ([http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd])&lt;br /&gt;
# Q=(4 &amp;amp;pi; / &amp;amp;lambda;) sin(&amp;amp;theta;) &amp;lt;br&amp;gt; where &amp;amp;lambda; is the wavelength of the radiation and 2&amp;amp;theta; is the angle through which the detected radiation has been scattered.&lt;br /&gt;
# units to be given in standard SI abbreviations (eg, m, cm, mm, nm, K) with the following exceptions: &lt;br /&gt;
##um=micrometres&lt;br /&gt;
##C=celsius&lt;br /&gt;
##A=Angstroms&lt;br /&gt;
##percent=%.&lt;br /&gt;
##fraction&lt;br /&gt;
##a.u.=arbitrary units&lt;br /&gt;
##none=no units are relevant (such as dimensionless)&lt;br /&gt;
# where reciprocal units need to be quoted the format shall be &amp;quot;1/abbreviation&amp;quot;&lt;br /&gt;
# axes:&lt;br /&gt;
##z is along the flight path (positive value in the direction of the detector)&lt;br /&gt;
##x is orthogonal to z in the horizontal plane (positive values increase to the right when viewed towards the incoming radiation)&lt;br /&gt;
##y is orthogonal to z and x in the vertical plane (positive values increase upwards)&lt;br /&gt;
#orientation (angles): &lt;br /&gt;
##roll is about z&lt;br /&gt;
##pitch is about x&lt;br /&gt;
##yaw is about y&lt;br /&gt;
# Unicode characters MUST NOT be used&lt;br /&gt;
# Binary data is not supported&lt;br /&gt;
&lt;br /&gt;
=== Compatibility of Geometry Definitions ===&lt;br /&gt;
&lt;br /&gt;
Note:  translation and orientation geometry used by canSAS are consistent with:&lt;br /&gt;
#http://en.wikipedia.org/wiki/Cartesian_coordinate_system&lt;br /&gt;
#http://en.wikipedia.org/wiki/Right-hand_rule&lt;br /&gt;
#http://www.nexusformat.org/Coordinate_Systems&lt;br /&gt;
#http://mcstas.risoe.dk/documentation/tutorial/node6.html&lt;br /&gt;
#http://webhost5.nts.jhu.edu/reza/book/kinematics/kinematics.htm&lt;br /&gt;
&lt;br /&gt;
The translation and orientation geometry definitions used &lt;br /&gt;
here are different than those used by&lt;br /&gt;
&#039;&#039;&#039;SHADOW&#039;&#039;&#039; ([http://www.nanotech.wisc.edu/shadow/ http://www.nanotech.wisc.edu/shadow/]) &lt;br /&gt;
where the &#039;&#039;y&#039;&#039; and &#039;&#039;z&#039;&#039; axes are swapped &lt;br /&gt;
and the direction of &#039;&#039;x&#039;&#039; is changed.&lt;br /&gt;
&lt;br /&gt;
== XML layout for multiple experiments ==&lt;br /&gt;
&lt;br /&gt;
Each experiment is described with a single &#039;&#039;&#039;SASentry&#039;&#039;&#039; element.&lt;br /&gt;
The brief example below shows how multiple experiments can be included &lt;br /&gt;
in a single XML file.  (For the sake of brevity, the data for each experiment&lt;br /&gt;
has been omitted from the example below.)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;?xml-stylesheet type=&amp;quot;text/xsl&amp;quot; href=&amp;quot;example.xsl&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;SASroot version=&amp;quot;1.0&amp;quot;&lt;br /&gt;
    xmlns=&amp;quot;cansas1d/1.0&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&lt;br /&gt;
    xsi:schemaLocation=&amp;quot;cansas1d/1.0 http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd&amp;quot;&lt;br /&gt;
    &amp;gt;&lt;br /&gt;
  &amp;lt;SASentry name=&amp;quot;071121.dat#S22&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;!-- contents of the first experiment in the file go here --&amp;gt;&lt;br /&gt;
  &amp;lt;/SASentry&amp;gt;&lt;br /&gt;
  &amp;lt;SASentry name=&amp;quot;example temperature series&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;!-- example with two SAS data sets related to the same sample --&amp;gt;&lt;br /&gt;
    &amp;lt;Title&amp;gt;title of this series&amp;lt;/Title&amp;gt;&lt;br /&gt;
    &amp;lt;Run name=&amp;quot;run1&amp;quot;&amp;gt;42-001&amp;lt;/Run&amp;gt;&lt;br /&gt;
    &amp;lt;Run name=&amp;quot;run2&amp;quot;&amp;gt;42-002&amp;lt;/Run&amp;gt;&lt;br /&gt;
    &amp;lt;SASdata name=&amp;quot;run1&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;!-- data from 42-001 run comes here --&amp;gt;&lt;br /&gt;
    &amp;lt;/SASdata&amp;gt;&lt;br /&gt;
    &amp;lt;SASdata name=&amp;quot;run2&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;!-- data from 42-002 run comes here --&amp;gt;&lt;br /&gt;
    &amp;lt;/SASdata&amp;gt;&lt;br /&gt;
    &amp;lt;!-- other elements come here for this entry --&amp;gt;&lt;br /&gt;
  &amp;lt;/SASentry&amp;gt;&lt;br /&gt;
  &amp;lt;SASentry name=&amp;quot;other sample&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;!-- any number of additional experiments can be included, as desired --&amp;gt;&lt;br /&gt;
    &amp;lt;!-- SASentry elements in the same XML file do not have to be related --&amp;gt;&lt;br /&gt;
  &amp;lt;/SASentry&amp;gt;&lt;br /&gt;
&amp;lt;/SASroot&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Documentation and Definitions =&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Documentation&#039;&#039;&#039;: [[cansas1d_documentation]]  (this page)&lt;br /&gt;
* &#039;&#039;&#039;Definitions&#039;&#039;&#039;:   [[cansas1d_definition_of_terms]]&lt;br /&gt;
* &#039;&#039;&#039;Block diagrams&#039;&#039;&#039;: [[cansas1d_documentation#block_diagrams]]&lt;br /&gt;
&lt;br /&gt;
== XML Schema ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;XML Schema&#039;&#039;&#039;: defines the rules for the XML file format ([http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk/cansas1d.xsd TRAC], [http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd SVN])&lt;br /&gt;
* [[xsd-documentation.xsl | XSL stylesheet]] (used to extract information shown on the [[cansas1d_definition_of_terms | Schema documentation page]])&lt;br /&gt;
&lt;br /&gt;
== XML Stylesheets ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;example.xsl&#039;&#039;&#039;: XSLT stylesheets can be used to extract metadata or to convert into another file format.  The default canSAS stylesheet [[http://svn.smallangles.net/svn/canSAS/1dwg/trunk/example.xsl | example.xsl]] should be copied into the each folder with canSAS XML data file(s).   It can be used to display the data in a supporting WWW browser (such as Firefox or Internet Explorer) or to import into Microsoft Excel (with the added XML support in Excel).   By default, MS Windows binds &#039;&#039;&#039;*.xml&#039;&#039;&#039; files to start Internet Explorer.  Double-clicking on a canSAS XML data file with the &#039;&#039;&#039;example.xsl&#039;&#039;&#039; stylesheet in the same directory will produce a WWW page with the SAS data and selected metadata.&lt;br /&gt;
&lt;br /&gt;
== Foreign Elements ==&lt;br /&gt;
&lt;br /&gt;
== Examples and Case Studies ==&lt;br /&gt;
&lt;br /&gt;
* [[cansas1d.xml | basic example]]: Note that, for clarity, only one row of data is shown.  This is probably a very good example to use as a starting point for creating XML files with a text editor.&lt;br /&gt;
* [[bimodal-test1.xml]]: Simulated SAS data to test size distribution calculation routines.&lt;br /&gt;
* [[cansas1d_casestudy_collagen | dry chick collagen]]: illustrates the minimum information necessary to meet the requirements of the standard format&lt;br /&gt;
* [[cansas1d_casestudy_af1410 | AF1410 steel]]: SANS study using magnetic contrast variation (with multiple samples and multiple data sets for each sample), the files can be viewed from TRAC (no description yet):  [http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk/examples/af1410/ http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk/examples/af1410/]&lt;br /&gt;
* [[cansas1d-template.xml]]: This is used to test all the rules in the XML Schema.  This is probably not a very good example to use as a starting point for creating XML files with a text editor since it tests many of the special-case rules.&lt;br /&gt;
&lt;br /&gt;
== Support tools for Visualization &amp;amp; Analysis software ==&lt;br /&gt;
&lt;br /&gt;
=== IgorPro ===&lt;br /&gt;
&lt;br /&gt;
An import/export tool for [http://www.wavemetrics.com/ IgorPro] has been created&lt;br /&gt;
([http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk/IgorPro/cansasXML.ipf cansasXML.ipf]).&lt;br /&gt;
You can check out the &amp;lt;nowiki&amp;gt;IgorPro&amp;lt;/nowiki&amp;gt; working directory from the SVN server (see below).&lt;br /&gt;
&lt;br /&gt;
As of 2008-03-14, &lt;br /&gt;
* test suite of XML files developed&lt;br /&gt;
* the support can import the XML files into IgorPro&lt;br /&gt;
* Development of a GUI (to support the [http://usaxs.xor.aps.anl.gov/staff/ilavsky/irena.html Irena] package) has begun&lt;br /&gt;
* Development to add export capabilities (from IgorPro) back to the cansas1d/1.0 format has begun&lt;br /&gt;
&lt;br /&gt;
== Software repositories ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;TRAC&#039;&#039;&#039;:       [http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk]&lt;br /&gt;
* &#039;&#039;&#039;Subversion&#039;&#039;&#039;: [http://svn.smallangles.net/svn/canSAS/1dwg http://svn.smallangles.net/svn/canSAS/1dwg]  &amp;lt;br /&amp;gt;(&amp;lt;nowiki&amp;gt;svn checkout http://svn.smallangles.net/svn/canSAS/1dwg/trunk/ cansas-1dwg&amp;lt;/nowiki&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Validation of XML against the Schema =&lt;br /&gt;
# open browser to:   http://www.xmlvalidation.com/&lt;br /&gt;
# paste content of candidate XML file (with reference in the header to the XML Schema as shown above) into the form&lt;br /&gt;
# press &amp;lt;validate&amp;gt;&lt;br /&gt;
# paste content of [[cansas1d.xsd]] XSD file into form and press &amp;lt;continue validation&amp;gt;&lt;br /&gt;
# check the results&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_documentation&amp;diff=343</id>
		<title>cansas1d documentation</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_documentation&amp;diff=343"/>
		<updated>2008-04-15T17:08:58Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: /* Basic elements of the cansas1d/1.0 standard */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Disclaimer =&lt;br /&gt;
&lt;br /&gt;
This description is meant to inform the community how to layout&lt;br /&gt;
the information within the XML files.  However, should the&lt;br /&gt;
information in this document and the [[cansas1d.xsd | canSAS 1D SAS XML Schema]]&lt;br /&gt;
differ, the XML Schema will be deemed to have the most correct description&lt;br /&gt;
of the standard.&lt;br /&gt;
&lt;br /&gt;
= General Layout of the XML Data =&lt;br /&gt;
&lt;br /&gt;
== overview ==&lt;br /&gt;
&lt;br /&gt;
[[Image:cansas1d-v1-1-SASroot.png|thumb|block diagram at [[cansas1d_SASroot | SASroot]] level]]&lt;br /&gt;
&lt;br /&gt;
The basic elements of the cansas1d/1.0 standard are shown in the following table.&lt;br /&gt;
After an XML header, the root element of the file is [[cansas1d_SASroot | SASroot]] which &lt;br /&gt;
contains one or more [[cansas1d_SASentry | SASentry]] elements, each of which describes&lt;br /&gt;
a single experiment (data set, time-slice, step in a series, new &lt;br /&gt;
sample, etc.).  Details of the [[cansas1d_SASentry | SASentry]] element are also&lt;br /&gt;
shown in the next figure.  Refer to the [[cansas1d_block_diagrams | block diagrams]] &lt;br /&gt;
for alternative depictions.  See [[cansas1d.xml]] for an example XML file.&lt;br /&gt;
Examples, Case Studies, and other background information are below.  More discussion can be found on the [[1D_Data_Formats_Working_Group|canSAS 1D Data Formats Working Group]] page and its [[Talk:1D_Data_Formats_Working_Group|discussion]] page.  Details about &lt;br /&gt;
each specific field (XPath string, XML elements and attributes) are described &lt;br /&gt;
on the [[cansas1d_definition_of_terms]] page.&lt;br /&gt;
&lt;br /&gt;
=== Basic elements of the cansas1d/1.0 standard ===&lt;br /&gt;
(--[[User:164.54.96.62|164.54.96.62]] 13:08, 15 April 2008 (EDT): table is under construction)&lt;br /&gt;
&lt;br /&gt;
{|  border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | element&lt;br /&gt;
! {{Headcellstyle}} | description&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
[[cansas1d_XML_header | XML header]]&lt;br /&gt;
||descriptive info required at the start of every XML file&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:[[cansas1d_SASroot | SASroot]]&lt;br /&gt;
||&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::[[cansas1d_SASentry | SASentry]]&lt;br /&gt;
||data set, time-slice, step in a series, new sample, etc.&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::Title&lt;br /&gt;
||for this particular SASentry&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::Run&lt;br /&gt;
||run number or ID number of experiment&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::[[cansas1d_any | {any}]]&lt;br /&gt;
||any non-cansas1d/1.0 element can be used at this point&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::[[cansas1d_SASdata | SASdata]]&lt;br /&gt;
||this is where the reduced 1-D SAS data is stored&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::[[cansas1d_Idata | Idata]]&lt;br /&gt;
||a single data point in the dataset&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::[[cansas1d_any | {any}]]&lt;br /&gt;
||any non-cansas1d/1.0 element can be used at this point&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::[[cansas1d_SASsample | SASsample]]&lt;br /&gt;
||&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::ID&lt;br /&gt;
||description of this sample&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::thickness&lt;br /&gt;
||thickness of this sample&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::transmission&lt;br /&gt;
||transmission of this sample&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::temperature&lt;br /&gt;
||temperature of this sample&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::[[cansas1d_position | position]]&lt;br /&gt;
||position of this sample&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::[[cansas1d_orientation | orientation]]&lt;br /&gt;
||rotation of this sample&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::details&lt;br /&gt;
||any other details about this sample&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::[[cansas1d_any | {any}]]&lt;br /&gt;
||any non-cansas1d/1.0 element can be used at this point&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::[[cansas1d_SASinstrument | SASinstrument]]&lt;br /&gt;
||&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::[[cansas1d_SASsource | SASsource]]&lt;br /&gt;
||&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::[[cansas1d_SAScollimation | SAScollimation]]&lt;br /&gt;
||&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::[[cansas1d_SASdetector | SASdetector]]&lt;br /&gt;
||&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::[[cansas1d_SASprocess | SASprocess]]&lt;br /&gt;
||for each processing or analysis step&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::[[cansas1d_SASnote | SASnote]]&lt;br /&gt;
||anything at all&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== required XML file header ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;?xml-stylesheet type=&amp;quot;text/xsl&amp;quot; href=&amp;quot;example.xsl&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;SASroot version=&amp;quot;1.0&amp;quot;&lt;br /&gt;
    xmlns=&amp;quot;cansas1d/1.0&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&lt;br /&gt;
    xsi:schemaLocation=&amp;quot;cansas1d/1.0 http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd&amp;quot;&lt;br /&gt;
    &amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Rules ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Q-geometry.jpg|thumb|definition of Q geometry for small-angle scattering]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Translation-orientation-geometry-2.jpg|thumb|definition of translation and orientation geometry]]&lt;br /&gt;
&lt;br /&gt;
# canSAS1d/1.0 XML data files will adhere to the standard if they can successfully [[cansas1d_documentation#Validation_of_XML_against_the_Schema | validate]] against the established XML Schema ([http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd])&lt;br /&gt;
# Q=(4 &amp;amp;pi; / &amp;amp;lambda;) sin(&amp;amp;theta;) &amp;lt;br&amp;gt; where &amp;amp;lambda; is the wavelength of the radiation and 2&amp;amp;theta; is the angle through which the detected radiation has been scattered.&lt;br /&gt;
# units to be given in standard SI abbreviations (eg, m, cm, mm, nm, K) with the following exceptions: &lt;br /&gt;
##um=micrometres&lt;br /&gt;
##C=celsius&lt;br /&gt;
##A=Angstroms&lt;br /&gt;
##percent=%.&lt;br /&gt;
##fraction&lt;br /&gt;
##a.u.=arbitrary units&lt;br /&gt;
##none=no units are relevant (such as dimensionless)&lt;br /&gt;
# where reciprocal units need to be quoted the format shall be &amp;quot;1/abbreviation&amp;quot;&lt;br /&gt;
# axes:&lt;br /&gt;
##z is along the flight path (positive value in the direction of the detector)&lt;br /&gt;
##x is orthogonal to z in the horizontal plane (positive values increase to the right when viewed towards the incoming radiation)&lt;br /&gt;
##y is orthogonal to z and x in the vertical plane (positive values increase upwards)&lt;br /&gt;
#orientation (angles): &lt;br /&gt;
##roll is about z&lt;br /&gt;
##pitch is about x&lt;br /&gt;
##yaw is about y&lt;br /&gt;
# Unicode characters MUST NOT be used&lt;br /&gt;
# Binary data is not supported&lt;br /&gt;
&lt;br /&gt;
=== Compatibility of Geometry Definitions ===&lt;br /&gt;
&lt;br /&gt;
Note:  translation and orientation geometry used by canSAS are consistent with:&lt;br /&gt;
#http://en.wikipedia.org/wiki/Cartesian_coordinate_system&lt;br /&gt;
#http://en.wikipedia.org/wiki/Right-hand_rule&lt;br /&gt;
#http://www.nexusformat.org/Coordinate_Systems&lt;br /&gt;
#http://mcstas.risoe.dk/documentation/tutorial/node6.html&lt;br /&gt;
#http://webhost5.nts.jhu.edu/reza/book/kinematics/kinematics.htm&lt;br /&gt;
&lt;br /&gt;
The translation and orientation geometry definitions used &lt;br /&gt;
here are different than those used by&lt;br /&gt;
&#039;&#039;&#039;SHADOW&#039;&#039;&#039; ([http://www.nanotech.wisc.edu/shadow/ http://www.nanotech.wisc.edu/shadow/]) &lt;br /&gt;
where the &#039;&#039;y&#039;&#039; and &#039;&#039;z&#039;&#039; axes are swapped &lt;br /&gt;
and the direction of &#039;&#039;x&#039;&#039; is changed.&lt;br /&gt;
&lt;br /&gt;
== XML layout for multiple experiments ==&lt;br /&gt;
&lt;br /&gt;
Each experiment is described with a single &#039;&#039;&#039;SASentry&#039;&#039;&#039; element.&lt;br /&gt;
The brief example below shows how multiple experiments can be included &lt;br /&gt;
in a single XML file.  (For the sake of brevity, the data for each experiment&lt;br /&gt;
has been omitted from the example below.)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;?xml-stylesheet type=&amp;quot;text/xsl&amp;quot; href=&amp;quot;example.xsl&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;SASroot version=&amp;quot;1.0&amp;quot;&lt;br /&gt;
    xmlns=&amp;quot;cansas1d/1.0&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&lt;br /&gt;
    xsi:schemaLocation=&amp;quot;cansas1d/1.0 http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd&amp;quot;&lt;br /&gt;
    &amp;gt;&lt;br /&gt;
  &amp;lt;SASentry name=&amp;quot;071121.dat#S22&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;!-- contents of the first experiment in the file go here --&amp;gt;&lt;br /&gt;
  &amp;lt;/SASentry&amp;gt;&lt;br /&gt;
  &amp;lt;SASentry name=&amp;quot;example temperature series&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;!-- example with two SAS data sets related to the same sample --&amp;gt;&lt;br /&gt;
    &amp;lt;Title&amp;gt;title of this series&amp;lt;/Title&amp;gt;&lt;br /&gt;
    &amp;lt;Run name=&amp;quot;run1&amp;quot;&amp;gt;42-001&amp;lt;/Run&amp;gt;&lt;br /&gt;
    &amp;lt;Run name=&amp;quot;run2&amp;quot;&amp;gt;42-002&amp;lt;/Run&amp;gt;&lt;br /&gt;
    &amp;lt;SASdata name=&amp;quot;run1&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;!-- data from 42-001 run comes here --&amp;gt;&lt;br /&gt;
    &amp;lt;/SASdata&amp;gt;&lt;br /&gt;
    &amp;lt;SASdata name=&amp;quot;run2&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;!-- data from 42-002 run comes here --&amp;gt;&lt;br /&gt;
    &amp;lt;/SASdata&amp;gt;&lt;br /&gt;
    &amp;lt;!-- other elements come here for this entry --&amp;gt;&lt;br /&gt;
  &amp;lt;/SASentry&amp;gt;&lt;br /&gt;
  &amp;lt;SASentry name=&amp;quot;other sample&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;!-- any number of additional experiments can be included, as desired --&amp;gt;&lt;br /&gt;
    &amp;lt;!-- SASentry elements in the same XML file do not have to be related --&amp;gt;&lt;br /&gt;
  &amp;lt;/SASentry&amp;gt;&lt;br /&gt;
&amp;lt;/SASroot&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Documentation and Definitions =&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Documentation&#039;&#039;&#039;: [[cansas1d_documentation]]  (this page)&lt;br /&gt;
* &#039;&#039;&#039;Definitions&#039;&#039;&#039;:   [[cansas1d_definition_of_terms]]&lt;br /&gt;
* &#039;&#039;&#039;Block diagrams&#039;&#039;&#039;: [[cansas1d_documentation#block_diagrams]]&lt;br /&gt;
&lt;br /&gt;
== XML Schema ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;XML Schema&#039;&#039;&#039;: defines the rules for the XML file format ([http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk/cansas1d.xsd TRAC], [http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd SVN])&lt;br /&gt;
* [[xsd-documentation.xsl | XSL stylesheet]] (used to extract information shown on the [[cansas1d_definition_of_terms | Schema documentation page]])&lt;br /&gt;
&lt;br /&gt;
== XML Stylesheets ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;example.xsl&#039;&#039;&#039;: XSLT stylesheets can be used to extract metadata or to convert into another file format.  The default canSAS stylesheet [[http://svn.smallangles.net/svn/canSAS/1dwg/trunk/example.xsl | example.xsl]] should be copied into the each folder with canSAS XML data file(s).   It can be used to display the data in a supporting WWW browser (such as Firefox or Internet Explorer) or to import into Microsoft Excel (with the added XML support in Excel).   By default, MS Windows binds &#039;&#039;&#039;*.xml&#039;&#039;&#039; files to start Internet Explorer.  Double-clicking on a canSAS XML data file with the &#039;&#039;&#039;example.xsl&#039;&#039;&#039; stylesheet in the same directory will produce a WWW page with the SAS data and selected metadata.&lt;br /&gt;
&lt;br /&gt;
== Foreign Elements ==&lt;br /&gt;
&lt;br /&gt;
== Examples and Case Studies ==&lt;br /&gt;
&lt;br /&gt;
* [[cansas1d.xml | basic example]]: Note that, for clarity, only one row of data is shown.  This is probably a very good example to use as a starting point for creating XML files with a text editor.&lt;br /&gt;
* [[bimodal-test1.xml]]: Simulated SAS data to test size distribution calculation routines.&lt;br /&gt;
* [[cansas1d_casestudy_collagen | dry chick collagen]]: illustrates the minimum information necessary to meet the requirements of the standard format&lt;br /&gt;
* [[cansas1d_casestudy_af1410 | AF1410 steel]]: SANS study using magnetic contrast variation (with multiple samples and multiple data sets for each sample), the files can be viewed from TRAC (no description yet):  [http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk/examples/af1410/ http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk/examples/af1410/]&lt;br /&gt;
* [[cansas1d-template.xml]]: This is used to test all the rules in the XML Schema.  This is probably not a very good example to use as a starting point for creating XML files with a text editor since it tests many of the special-case rules.&lt;br /&gt;
&lt;br /&gt;
== Support tools for Visualization &amp;amp; Analysis software ==&lt;br /&gt;
&lt;br /&gt;
=== IgorPro ===&lt;br /&gt;
&lt;br /&gt;
An import/export tool for [http://www.wavemetrics.com/ IgorPro] has been created&lt;br /&gt;
([http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk/IgorPro/cansasXML.ipf cansasXML.ipf]).&lt;br /&gt;
You can check out the &amp;lt;nowiki&amp;gt;IgorPro&amp;lt;/nowiki&amp;gt; working directory from the SVN server (see below).&lt;br /&gt;
&lt;br /&gt;
As of 2008-03-14, &lt;br /&gt;
* test suite of XML files developed&lt;br /&gt;
* the support can import the XML files into IgorPro&lt;br /&gt;
* Development of a GUI (to support the [http://usaxs.xor.aps.anl.gov/staff/ilavsky/irena.html Irena] package) has begun&lt;br /&gt;
* Development to add export capabilities (from IgorPro) back to the cansas1d/1.0 format has begun&lt;br /&gt;
&lt;br /&gt;
== Software repositories ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;TRAC&#039;&#039;&#039;:       [http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk]&lt;br /&gt;
* &#039;&#039;&#039;Subversion&#039;&#039;&#039;: [http://svn.smallangles.net/svn/canSAS/1dwg http://svn.smallangles.net/svn/canSAS/1dwg]  &amp;lt;br /&amp;gt;(&amp;lt;nowiki&amp;gt;svn checkout http://svn.smallangles.net/svn/canSAS/1dwg/trunk/ cansas-1dwg&amp;lt;/nowiki&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Validation of XML against the Schema =&lt;br /&gt;
# open browser to:   http://www.xmlvalidation.com/&lt;br /&gt;
# paste content of candidate XML file (with reference in the header to the XML Schema as shown above) into the form&lt;br /&gt;
# press &amp;lt;validate&amp;gt;&lt;br /&gt;
# paste content of [[cansas1d.xsd]] XSD file into form and press &amp;lt;continue validation&amp;gt;&lt;br /&gt;
# check the results&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_documentation&amp;diff=342</id>
		<title>cansas1d documentation</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_documentation&amp;diff=342"/>
		<updated>2008-04-15T17:07:09Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: /* overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Disclaimer =&lt;br /&gt;
&lt;br /&gt;
This description is meant to inform the community how to layout&lt;br /&gt;
the information within the XML files.  However, should the&lt;br /&gt;
information in this document and the [[cansas1d.xsd | canSAS 1D SAS XML Schema]]&lt;br /&gt;
differ, the XML Schema will be deemed to have the most correct description&lt;br /&gt;
of the standard.&lt;br /&gt;
&lt;br /&gt;
= General Layout of the XML Data =&lt;br /&gt;
&lt;br /&gt;
== overview ==&lt;br /&gt;
&lt;br /&gt;
[[Image:cansas1d-v1-1-SASroot.png|thumb|block diagram at [[cansas1d_SASroot | SASroot]] level]]&lt;br /&gt;
&lt;br /&gt;
The basic elements of the cansas1d/1.0 standard are shown in the following table.&lt;br /&gt;
After an XML header, the root element of the file is [[cansas1d_SASroot | SASroot]] which &lt;br /&gt;
contains one or more [[cansas1d_SASentry | SASentry]] elements, each of which describes&lt;br /&gt;
a single experiment (data set, time-slice, step in a series, new &lt;br /&gt;
sample, etc.).  Details of the [[cansas1d_SASentry | SASentry]] element are also&lt;br /&gt;
shown in the next figure.  Refer to the [[cansas1d_block_diagrams | block diagrams]] &lt;br /&gt;
for alternative depictions.  See [[cansas1d.xml]] for an example XML file.&lt;br /&gt;
Examples, Case Studies, and other background information are below.  More discussion can be found on the [[1D_Data_Formats_Working_Group|canSAS 1D Data Formats Working Group]] page and its [[Talk:1D_Data_Formats_Working_Group|discussion]] page.  Details about &lt;br /&gt;
each specific field (XPath string, XML elements and attributes) are described &lt;br /&gt;
on the [[cansas1d_definition_of_terms]] page.&lt;br /&gt;
&lt;br /&gt;
=== Basic elements of the cansas1d/1.0 standard ===&lt;br /&gt;
&lt;br /&gt;
{|  border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | element&lt;br /&gt;
! {{Headcellstyle}} | description&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
[[cansas1d_XML_header | XML header]]&lt;br /&gt;
||descriptive info required at the start of every XML file&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:[[cansas1d_SASroot | SASroot]]&lt;br /&gt;
||&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::[[cansas1d_SASentry | SASentry]]&lt;br /&gt;
||data set, time-slice, step in a series, new sample, etc.&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::Title&lt;br /&gt;
||for this particular SASentry&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::Run&lt;br /&gt;
||run number or ID number of experiment&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::[[cansas1d_any | {any}]]&lt;br /&gt;
||any non-cansas1d/1.0 element can be used at this point&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::[[cansas1d_SASdata | SASdata]]&lt;br /&gt;
||this is where the reduced 1-D SAS data is stored&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::[[cansas1d_Idata | Idata]]&lt;br /&gt;
||a single data point in the dataset&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::[[cansas1d_any | {any}]]&lt;br /&gt;
||any non-cansas1d/1.0 element can be used at this point&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::[[cansas1d_SASsample | SASsample]]&lt;br /&gt;
||&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::ID&lt;br /&gt;
||description of this sample&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::thickness&lt;br /&gt;
||thickness of this sample&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::transmission&lt;br /&gt;
||transmission of this sample&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::temperature&lt;br /&gt;
||temperature of this sample&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::[[cansas1d_position | position]]&lt;br /&gt;
||position of this sample&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::[[cansas1d_orientation | orientation]]&lt;br /&gt;
||rotation of this sample&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::details&lt;br /&gt;
||any other details about this sample&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::[[cansas1d_any | {any}]]&lt;br /&gt;
||any non-cansas1d/1.0 element can be used at this point&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::[[cansas1d_SASinstrument | SASinstrument]]&lt;br /&gt;
||&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::[[cansas1d_SASsource | SASsource]]&lt;br /&gt;
||&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::[[cansas1d_SAScollimation | SAScollimation]]&lt;br /&gt;
||&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::[[cansas1d_SASdetector | SASdetector]]&lt;br /&gt;
||&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::[[cansas1d_SASprocess | SASprocess]]&lt;br /&gt;
||for each processing or analysis step&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::[[cansas1d_SASnote | SASnote]]&lt;br /&gt;
||anything at all&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== required XML file header ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;?xml-stylesheet type=&amp;quot;text/xsl&amp;quot; href=&amp;quot;example.xsl&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;SASroot version=&amp;quot;1.0&amp;quot;&lt;br /&gt;
    xmlns=&amp;quot;cansas1d/1.0&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&lt;br /&gt;
    xsi:schemaLocation=&amp;quot;cansas1d/1.0 http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd&amp;quot;&lt;br /&gt;
    &amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Rules ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Q-geometry.jpg|thumb|definition of Q geometry for small-angle scattering]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Translation-orientation-geometry-2.jpg|thumb|definition of translation and orientation geometry]]&lt;br /&gt;
&lt;br /&gt;
# canSAS1d/1.0 XML data files will adhere to the standard if they can successfully [[cansas1d_documentation#Validation_of_XML_against_the_Schema | validate]] against the established XML Schema ([http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd])&lt;br /&gt;
# Q=(4 &amp;amp;pi; / &amp;amp;lambda;) sin(&amp;amp;theta;) &amp;lt;br&amp;gt; where &amp;amp;lambda; is the wavelength of the radiation and 2&amp;amp;theta; is the angle through which the detected radiation has been scattered.&lt;br /&gt;
# units to be given in standard SI abbreviations (eg, m, cm, mm, nm, K) with the following exceptions: &lt;br /&gt;
##um=micrometres&lt;br /&gt;
##C=celsius&lt;br /&gt;
##A=Angstroms&lt;br /&gt;
##percent=%.&lt;br /&gt;
##fraction&lt;br /&gt;
##a.u.=arbitrary units&lt;br /&gt;
##none=no units are relevant (such as dimensionless)&lt;br /&gt;
# where reciprocal units need to be quoted the format shall be &amp;quot;1/abbreviation&amp;quot;&lt;br /&gt;
# axes:&lt;br /&gt;
##z is along the flight path (positive value in the direction of the detector)&lt;br /&gt;
##x is orthogonal to z in the horizontal plane (positive values increase to the right when viewed towards the incoming radiation)&lt;br /&gt;
##y is orthogonal to z and x in the vertical plane (positive values increase upwards)&lt;br /&gt;
#orientation (angles): &lt;br /&gt;
##roll is about z&lt;br /&gt;
##pitch is about x&lt;br /&gt;
##yaw is about y&lt;br /&gt;
# Unicode characters MUST NOT be used&lt;br /&gt;
# Binary data is not supported&lt;br /&gt;
&lt;br /&gt;
=== Compatibility of Geometry Definitions ===&lt;br /&gt;
&lt;br /&gt;
Note:  translation and orientation geometry used by canSAS are consistent with:&lt;br /&gt;
#http://en.wikipedia.org/wiki/Cartesian_coordinate_system&lt;br /&gt;
#http://en.wikipedia.org/wiki/Right-hand_rule&lt;br /&gt;
#http://www.nexusformat.org/Coordinate_Systems&lt;br /&gt;
#http://mcstas.risoe.dk/documentation/tutorial/node6.html&lt;br /&gt;
#http://webhost5.nts.jhu.edu/reza/book/kinematics/kinematics.htm&lt;br /&gt;
&lt;br /&gt;
The translation and orientation geometry definitions used &lt;br /&gt;
here are different than those used by&lt;br /&gt;
&#039;&#039;&#039;SHADOW&#039;&#039;&#039; ([http://www.nanotech.wisc.edu/shadow/ http://www.nanotech.wisc.edu/shadow/]) &lt;br /&gt;
where the &#039;&#039;y&#039;&#039; and &#039;&#039;z&#039;&#039; axes are swapped &lt;br /&gt;
and the direction of &#039;&#039;x&#039;&#039; is changed.&lt;br /&gt;
&lt;br /&gt;
== XML layout for multiple experiments ==&lt;br /&gt;
&lt;br /&gt;
Each experiment is described with a single &#039;&#039;&#039;SASentry&#039;&#039;&#039; element.&lt;br /&gt;
The brief example below shows how multiple experiments can be included &lt;br /&gt;
in a single XML file.  (For the sake of brevity, the data for each experiment&lt;br /&gt;
has been omitted from the example below.)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;?xml-stylesheet type=&amp;quot;text/xsl&amp;quot; href=&amp;quot;example.xsl&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;SASroot version=&amp;quot;1.0&amp;quot;&lt;br /&gt;
    xmlns=&amp;quot;cansas1d/1.0&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&lt;br /&gt;
    xsi:schemaLocation=&amp;quot;cansas1d/1.0 http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd&amp;quot;&lt;br /&gt;
    &amp;gt;&lt;br /&gt;
  &amp;lt;SASentry name=&amp;quot;071121.dat#S22&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;!-- contents of the first experiment in the file go here --&amp;gt;&lt;br /&gt;
  &amp;lt;/SASentry&amp;gt;&lt;br /&gt;
  &amp;lt;SASentry name=&amp;quot;example temperature series&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;!-- example with two SAS data sets related to the same sample --&amp;gt;&lt;br /&gt;
    &amp;lt;Title&amp;gt;title of this series&amp;lt;/Title&amp;gt;&lt;br /&gt;
    &amp;lt;Run name=&amp;quot;run1&amp;quot;&amp;gt;42-001&amp;lt;/Run&amp;gt;&lt;br /&gt;
    &amp;lt;Run name=&amp;quot;run2&amp;quot;&amp;gt;42-002&amp;lt;/Run&amp;gt;&lt;br /&gt;
    &amp;lt;SASdata name=&amp;quot;run1&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;!-- data from 42-001 run comes here --&amp;gt;&lt;br /&gt;
    &amp;lt;/SASdata&amp;gt;&lt;br /&gt;
    &amp;lt;SASdata name=&amp;quot;run2&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;!-- data from 42-002 run comes here --&amp;gt;&lt;br /&gt;
    &amp;lt;/SASdata&amp;gt;&lt;br /&gt;
    &amp;lt;!-- other elements come here for this entry --&amp;gt;&lt;br /&gt;
  &amp;lt;/SASentry&amp;gt;&lt;br /&gt;
  &amp;lt;SASentry name=&amp;quot;other sample&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;!-- any number of additional experiments can be included, as desired --&amp;gt;&lt;br /&gt;
    &amp;lt;!-- SASentry elements in the same XML file do not have to be related --&amp;gt;&lt;br /&gt;
  &amp;lt;/SASentry&amp;gt;&lt;br /&gt;
&amp;lt;/SASroot&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Documentation and Definitions =&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Documentation&#039;&#039;&#039;: [[cansas1d_documentation]]  (this page)&lt;br /&gt;
* &#039;&#039;&#039;Definitions&#039;&#039;&#039;:   [[cansas1d_definition_of_terms]]&lt;br /&gt;
* &#039;&#039;&#039;Block diagrams&#039;&#039;&#039;: [[cansas1d_documentation#block_diagrams]]&lt;br /&gt;
&lt;br /&gt;
== XML Schema ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;XML Schema&#039;&#039;&#039;: defines the rules for the XML file format ([http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk/cansas1d.xsd TRAC], [http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd SVN])&lt;br /&gt;
* [[xsd-documentation.xsl | XSL stylesheet]] (used to extract information shown on the [[cansas1d_definition_of_terms | Schema documentation page]])&lt;br /&gt;
&lt;br /&gt;
== XML Stylesheets ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;example.xsl&#039;&#039;&#039;: XSLT stylesheets can be used to extract metadata or to convert into another file format.  The default canSAS stylesheet [[http://svn.smallangles.net/svn/canSAS/1dwg/trunk/example.xsl | example.xsl]] should be copied into the each folder with canSAS XML data file(s).   It can be used to display the data in a supporting WWW browser (such as Firefox or Internet Explorer) or to import into Microsoft Excel (with the added XML support in Excel).   By default, MS Windows binds &#039;&#039;&#039;*.xml&#039;&#039;&#039; files to start Internet Explorer.  Double-clicking on a canSAS XML data file with the &#039;&#039;&#039;example.xsl&#039;&#039;&#039; stylesheet in the same directory will produce a WWW page with the SAS data and selected metadata.&lt;br /&gt;
&lt;br /&gt;
== Foreign Elements ==&lt;br /&gt;
&lt;br /&gt;
== Examples and Case Studies ==&lt;br /&gt;
&lt;br /&gt;
* [[cansas1d.xml | basic example]]: Note that, for clarity, only one row of data is shown.  This is probably a very good example to use as a starting point for creating XML files with a text editor.&lt;br /&gt;
* [[bimodal-test1.xml]]: Simulated SAS data to test size distribution calculation routines.&lt;br /&gt;
* [[cansas1d_casestudy_collagen | dry chick collagen]]: illustrates the minimum information necessary to meet the requirements of the standard format&lt;br /&gt;
* [[cansas1d_casestudy_af1410 | AF1410 steel]]: SANS study using magnetic contrast variation (with multiple samples and multiple data sets for each sample), the files can be viewed from TRAC (no description yet):  [http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk/examples/af1410/ http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk/examples/af1410/]&lt;br /&gt;
* [[cansas1d-template.xml]]: This is used to test all the rules in the XML Schema.  This is probably not a very good example to use as a starting point for creating XML files with a text editor since it tests many of the special-case rules.&lt;br /&gt;
&lt;br /&gt;
== Support tools for Visualization &amp;amp; Analysis software ==&lt;br /&gt;
&lt;br /&gt;
=== IgorPro ===&lt;br /&gt;
&lt;br /&gt;
An import/export tool for [http://www.wavemetrics.com/ IgorPro] has been created&lt;br /&gt;
([http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk/IgorPro/cansasXML.ipf cansasXML.ipf]).&lt;br /&gt;
You can check out the &amp;lt;nowiki&amp;gt;IgorPro&amp;lt;/nowiki&amp;gt; working directory from the SVN server (see below).&lt;br /&gt;
&lt;br /&gt;
As of 2008-03-14, &lt;br /&gt;
* test suite of XML files developed&lt;br /&gt;
* the support can import the XML files into IgorPro&lt;br /&gt;
* Development of a GUI (to support the [http://usaxs.xor.aps.anl.gov/staff/ilavsky/irena.html Irena] package) has begun&lt;br /&gt;
* Development to add export capabilities (from IgorPro) back to the cansas1d/1.0 format has begun&lt;br /&gt;
&lt;br /&gt;
== Software repositories ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;TRAC&#039;&#039;&#039;:       [http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk]&lt;br /&gt;
* &#039;&#039;&#039;Subversion&#039;&#039;&#039;: [http://svn.smallangles.net/svn/canSAS/1dwg http://svn.smallangles.net/svn/canSAS/1dwg]  &amp;lt;br /&amp;gt;(&amp;lt;nowiki&amp;gt;svn checkout http://svn.smallangles.net/svn/canSAS/1dwg/trunk/ cansas-1dwg&amp;lt;/nowiki&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Validation of XML against the Schema =&lt;br /&gt;
# open browser to:   http://www.xmlvalidation.com/&lt;br /&gt;
# paste content of candidate XML file (with reference in the header to the XML Schema as shown above) into the form&lt;br /&gt;
# press &amp;lt;validate&amp;gt;&lt;br /&gt;
# paste content of [[cansas1d.xsd]] XSD file into form and press &amp;lt;continue validation&amp;gt;&lt;br /&gt;
# check the results&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_orientation&amp;diff=341</id>
		<title>cansas1d orientation</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_orientation&amp;diff=341"/>
		<updated>2008-04-15T17:02:32Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;gallery caption=&amp;quot;geometry&amp;quot;&amp;gt;&lt;br /&gt;
Image:Translation-orientation-geometry.jpg    | from source&lt;br /&gt;
Image:Translation-orientation-geometry-2.jpg  | from detector&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Name&lt;br /&gt;
! {{Headcellstyle}} | Type&lt;br /&gt;
! {{Headcellstyle}} | occurrence&lt;br /&gt;
! {{Headcellstyle}} | Description&lt;br /&gt;
! {{Headcellstyle}} | Attributes&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;roll&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Rotation about the &#039;&#039;Z&#039;&#039; axis (roll). &lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;pitch&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Rotation about the &#039;&#039;X&#039;&#039; axis (pitch). &lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;yaw&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Rotation about the &#039;&#039;Y&#039;&#039; axis (yaw). &lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_position&amp;diff=340</id>
		<title>cansas1d position</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_position&amp;diff=340"/>
		<updated>2008-04-15T17:01:52Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;gallery caption=&amp;quot;geometry&amp;quot;&amp;gt;&lt;br /&gt;
Image:Translation-orientation-geometry.jpg    | from source&lt;br /&gt;
Image:Translation-orientation-geometry-2.jpg  | from detector&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Name&lt;br /&gt;
! {{Headcellstyle}} | Type&lt;br /&gt;
! {{Headcellstyle}} | occurrence&lt;br /&gt;
! {{Headcellstyle}} | Description&lt;br /&gt;
! {{Headcellstyle}} | Attributes&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;x&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Location (or dimension) of the item in X. &lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;y&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Location (or dimension) of the item in Y. &lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;z&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Location (or dimension) of the item in Z. &lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_Idata&amp;diff=339</id>
		<title>cansas1d Idata</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_Idata&amp;diff=339"/>
		<updated>2008-04-15T17:00:55Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: show the Q geometry&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:cansas1d-v1-2-SASdata.png | block diagram&lt;br /&gt;
Image:Q-geometry.jpg | Q geometry&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Name&lt;br /&gt;
! {{Headcellstyle}} | Type&lt;br /&gt;
! {{Headcellstyle}} | occurrence&lt;br /&gt;
! {{Headcellstyle}} | Description&lt;br /&gt;
! {{Headcellstyle}} | Attributes&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;Q&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| &#039;&#039;Q=(4 &amp;amp;pi; / &amp;amp;lambda;) sin(&amp;amp;theta;)&#039;&#039; where &#039;&#039;&amp;amp;lambda;&#039;&#039; is the wavelength of the radiation and &#039;&#039;2&amp;amp;theta;&#039;&#039; is the angle through which the detected radiation has been scattered.  &lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.  Either &#039;&#039;1/A&#039;&#039; or &#039;&#039;1/nm&#039;&#039; are typical.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;I&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| Intensity of the detected radiation. &lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.  One possibility might be&#039;&#039;1/cm&#039;&#039;.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;Idev&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Estimated standard deviation of &#039;&#039;&#039;I&#039;&#039;&#039;.&lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.  One possibility might be&#039;&#039;1/cm&#039;&#039;.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;Qdev&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Estimated standard deviation of &#039;&#039;&#039;Q&#039;&#039;&#039;. (optional: see note below on usage)&lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.  Either &#039;&#039;1/A&#039;&#039; or &#039;&#039;1/nm&#039;&#039; are typical.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;dQw&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| &#039;&#039;&#039;Q&#039;&#039;&#039; resolution along the axis of scanning (the high-resolution &#039;&#039;slit width&#039;&#039; direction).  Useful for defining resolution data from slit-smearing instruments such as Bonse-Hart geometry.  (optional: see note below on usage)&lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.  Either &#039;&#039;1/A&#039;&#039; or &#039;&#039;1/nm&#039;&#039; are typical.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;dQl&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| &#039;&#039;&#039;Q&#039;&#039;&#039; resolution perpendicular to the axis of scanning (the low-resolution &#039;&#039;slit length&#039;&#039; direction).  Useful for defining resolution data from slit-smearing instruments such as Bonse-Hart geometry.  (optional: see note below on usage)&lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.  Either &#039;&#039;1/A&#039;&#039; or &#039;&#039;1/nm&#039;&#039; are typical.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;Qmean&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Mean value of &#039;&#039;&#039;Q&#039;&#039;&#039; for this datum.  Useful when describing data that has been binned from higher-resolution or from area detectors.&lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.  Either &#039;&#039;1/A&#039;&#039; or &#039;&#039;1/nm&#039;&#039; are typical.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;Shadowfactor&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Describes the adjustment due to the beam stop penumbra. &lt;br /&gt;
&#039;&#039;&#039;(This definition needs revision. NIST?)&#039;&#039;&#039;&lt;br /&gt;
NOTE: There is no &amp;quot;unit&amp;quot; attribute.&lt;br /&gt;
|| &lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
# When an optional element (&#039;&#039;&#039;&#039;&#039;Idev&#039;&#039;&#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;Qdev&#039;&#039;&#039;&#039;&#039;, ...) is used, it must be given in every [[cansas1d_Idata | &#039;&#039;&#039;Idata&#039;&#039;&#039;]] within the enclosing [[cansas1d_SASdata | &#039;&#039;&#039;SASdata&#039;&#039;&#039;]].&lt;br /&gt;
# If either &#039;&#039;&#039;&#039;&#039;dQw&#039;&#039;&#039;&#039;&#039; or &#039;&#039;&#039;&#039;&#039;dQl&#039;&#039;&#039;&#039;&#039; are used, then &#039;&#039;&#039;&#039;&#039;Qdev&#039;&#039;&#039;&#039;&#039; is not permitted to be used.&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_documentation&amp;diff=338</id>
		<title>cansas1d documentation</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_documentation&amp;diff=338"/>
		<updated>2008-04-15T16:59:00Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: point to verbal definitions rather than block diagrams; each verbal definition is a table and includes a reference to the appropriate block diagram&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Disclaimer =&lt;br /&gt;
&lt;br /&gt;
This description is meant to inform the community how to layout&lt;br /&gt;
the information within the XML files.  However, should the&lt;br /&gt;
information in this document and the [[cansas1d.xsd | canSAS 1D SAS XML Schema]]&lt;br /&gt;
differ, the XML Schema will be deemed to have the most correct description&lt;br /&gt;
of the standard.&lt;br /&gt;
&lt;br /&gt;
= General Layout of the XML Data =&lt;br /&gt;
&lt;br /&gt;
== overview ==&lt;br /&gt;
&lt;br /&gt;
[[Image:cansas1d-v1-1-SASroot.png|thumb|block diagram at SASroot level]]&lt;br /&gt;
&lt;br /&gt;
After an XML header, the root element of the file is SASroot which &lt;br /&gt;
contains one or more SASentry elements, each of which describes&lt;br /&gt;
a single experiment (data set, time-slice, step in a series, new &lt;br /&gt;
sample, etc.).  Details of the SASentry element are also&lt;br /&gt;
shown in the next figure.  Refer to the &#039;&#039;&#039;block diagram at SASroot level&#039;&#039;&#039;&lt;br /&gt;
for an alternative depiction.  See [[cansas1d.xml]] for an example XML file.&lt;br /&gt;
Examples, Case Studies, and  other background information are below.  More discussion can be found on the [[1D_Data_Formats_Working_Group|canSAS 1D Data Formats Working Group]] page and its [[Talk:1D_Data_Formats_Working_Group|discussion]] page.  Details about &lt;br /&gt;
each specific field (XPath string, XML elements and attributes) are described &lt;br /&gt;
on the [[cansas1d_definition_of_terms]] page.&lt;br /&gt;
&lt;br /&gt;
=== Basic elements of the cansas1d/1.0 standard ===&lt;br /&gt;
&lt;br /&gt;
{|  border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | element&lt;br /&gt;
! {{Headcellstyle}} | description&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
[[cansas1d_XML_header | XML header]]&lt;br /&gt;
||descriptive info required at the start of every XML file&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:[[cansas1d_SASroot | SASroot]]&lt;br /&gt;
||&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::[[cansas1d_SASentry | SASentry]]&lt;br /&gt;
||data set, time-slice, step in a series, new sample, etc.&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::Title&lt;br /&gt;
||for this particular SASentry&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::Run&lt;br /&gt;
||run number or ID number of experiment&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::[[cansas1d_any | {any}]]&lt;br /&gt;
||any non-cansas1d/1.0 element can be used at this point&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::[[cansas1d_SASdata | SASdata]]&lt;br /&gt;
||this is where the reduced 1-D SAS data is stored&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::[[cansas1d_Idata | Idata]]&lt;br /&gt;
||a single data point in the dataset&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::[[cansas1d_any | {any}]]&lt;br /&gt;
||any non-cansas1d/1.0 element can be used at this point&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::[[cansas1d_SASsample | SASsample]]&lt;br /&gt;
||&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::ID&lt;br /&gt;
||description of this sample&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::thickness&lt;br /&gt;
||thickness of this sample&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::transmission&lt;br /&gt;
||transmission of this sample&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::temperature&lt;br /&gt;
||temperature of this sample&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::[[cansas1d_position | position]]&lt;br /&gt;
||position of this sample&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::[[cansas1d_orientation | orientation]]&lt;br /&gt;
||rotation of this sample&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::details&lt;br /&gt;
||any other details about this sample&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::[[cansas1d_any | {any}]]&lt;br /&gt;
||any non-cansas1d/1.0 element can be used at this point&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::[[cansas1d_SASinstrument | SASinstrument]]&lt;br /&gt;
||&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::[[cansas1d_SASsource | SASsource]]&lt;br /&gt;
||&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::[[cansas1d_SAScollimation | SAScollimation]]&lt;br /&gt;
||&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
::::[[cansas1d_SASdetector | SASdetector]]&lt;br /&gt;
||&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::[[cansas1d_SASprocess | SASprocess]]&lt;br /&gt;
||for each processing or analysis step&lt;br /&gt;
|-&lt;br /&gt;
||&lt;br /&gt;
:::[[cansas1d_SASnote | SASnote]]&lt;br /&gt;
||anything at all&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== required XML file header ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;?xml-stylesheet type=&amp;quot;text/xsl&amp;quot; href=&amp;quot;example.xsl&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;SASroot version=&amp;quot;1.0&amp;quot;&lt;br /&gt;
    xmlns=&amp;quot;cansas1d/1.0&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&lt;br /&gt;
    xsi:schemaLocation=&amp;quot;cansas1d/1.0 http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd&amp;quot;&lt;br /&gt;
    &amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Rules ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Q-geometry.jpg|thumb|definition of Q geometry for small-angle scattering]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Translation-orientation-geometry-2.jpg|thumb|definition of translation and orientation geometry]]&lt;br /&gt;
&lt;br /&gt;
# canSAS1d/1.0 XML data files will adhere to the standard if they can successfully [[cansas1d_documentation#Validation_of_XML_against_the_Schema | validate]] against the established XML Schema ([http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd])&lt;br /&gt;
# Q=(4 &amp;amp;pi; / &amp;amp;lambda;) sin(&amp;amp;theta;) &amp;lt;br&amp;gt; where &amp;amp;lambda; is the wavelength of the radiation and 2&amp;amp;theta; is the angle through which the detected radiation has been scattered.&lt;br /&gt;
# units to be given in standard SI abbreviations (eg, m, cm, mm, nm, K) with the following exceptions: &lt;br /&gt;
##um=micrometres&lt;br /&gt;
##C=celsius&lt;br /&gt;
##A=Angstroms&lt;br /&gt;
##percent=%.&lt;br /&gt;
##fraction&lt;br /&gt;
##a.u.=arbitrary units&lt;br /&gt;
##none=no units are relevant (such as dimensionless)&lt;br /&gt;
# where reciprocal units need to be quoted the format shall be &amp;quot;1/abbreviation&amp;quot;&lt;br /&gt;
# axes:&lt;br /&gt;
##z is along the flight path (positive value in the direction of the detector)&lt;br /&gt;
##x is orthogonal to z in the horizontal plane (positive values increase to the right when viewed towards the incoming radiation)&lt;br /&gt;
##y is orthogonal to z and x in the vertical plane (positive values increase upwards)&lt;br /&gt;
#orientation (angles): &lt;br /&gt;
##roll is about z&lt;br /&gt;
##pitch is about x&lt;br /&gt;
##yaw is about y&lt;br /&gt;
# Unicode characters MUST NOT be used&lt;br /&gt;
# Binary data is not supported&lt;br /&gt;
&lt;br /&gt;
=== Compatibility of Geometry Definitions ===&lt;br /&gt;
&lt;br /&gt;
Note:  translation and orientation geometry used by canSAS are consistent with:&lt;br /&gt;
#http://en.wikipedia.org/wiki/Cartesian_coordinate_system&lt;br /&gt;
#http://en.wikipedia.org/wiki/Right-hand_rule&lt;br /&gt;
#http://www.nexusformat.org/Coordinate_Systems&lt;br /&gt;
#http://mcstas.risoe.dk/documentation/tutorial/node6.html&lt;br /&gt;
#http://webhost5.nts.jhu.edu/reza/book/kinematics/kinematics.htm&lt;br /&gt;
&lt;br /&gt;
The translation and orientation geometry definitions used &lt;br /&gt;
here are different than those used by&lt;br /&gt;
&#039;&#039;&#039;SHADOW&#039;&#039;&#039; ([http://www.nanotech.wisc.edu/shadow/ http://www.nanotech.wisc.edu/shadow/]) &lt;br /&gt;
where the &#039;&#039;y&#039;&#039; and &#039;&#039;z&#039;&#039; axes are swapped &lt;br /&gt;
and the direction of &#039;&#039;x&#039;&#039; is changed.&lt;br /&gt;
&lt;br /&gt;
== XML layout for multiple experiments ==&lt;br /&gt;
&lt;br /&gt;
Each experiment is described with a single &#039;&#039;&#039;SASentry&#039;&#039;&#039; element.&lt;br /&gt;
The brief example below shows how multiple experiments can be included &lt;br /&gt;
in a single XML file.  (For the sake of brevity, the data for each experiment&lt;br /&gt;
has been omitted from the example below.)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;?xml-stylesheet type=&amp;quot;text/xsl&amp;quot; href=&amp;quot;example.xsl&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;SASroot version=&amp;quot;1.0&amp;quot;&lt;br /&gt;
    xmlns=&amp;quot;cansas1d/1.0&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&lt;br /&gt;
    xsi:schemaLocation=&amp;quot;cansas1d/1.0 http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd&amp;quot;&lt;br /&gt;
    &amp;gt;&lt;br /&gt;
  &amp;lt;SASentry name=&amp;quot;071121.dat#S22&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;!-- contents of the first experiment in the file go here --&amp;gt;&lt;br /&gt;
  &amp;lt;/SASentry&amp;gt;&lt;br /&gt;
  &amp;lt;SASentry name=&amp;quot;example temperature series&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;!-- example with two SAS data sets related to the same sample --&amp;gt;&lt;br /&gt;
    &amp;lt;Title&amp;gt;title of this series&amp;lt;/Title&amp;gt;&lt;br /&gt;
    &amp;lt;Run name=&amp;quot;run1&amp;quot;&amp;gt;42-001&amp;lt;/Run&amp;gt;&lt;br /&gt;
    &amp;lt;Run name=&amp;quot;run2&amp;quot;&amp;gt;42-002&amp;lt;/Run&amp;gt;&lt;br /&gt;
    &amp;lt;SASdata name=&amp;quot;run1&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;!-- data from 42-001 run comes here --&amp;gt;&lt;br /&gt;
    &amp;lt;/SASdata&amp;gt;&lt;br /&gt;
    &amp;lt;SASdata name=&amp;quot;run2&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;!-- data from 42-002 run comes here --&amp;gt;&lt;br /&gt;
    &amp;lt;/SASdata&amp;gt;&lt;br /&gt;
    &amp;lt;!-- other elements come here for this entry --&amp;gt;&lt;br /&gt;
  &amp;lt;/SASentry&amp;gt;&lt;br /&gt;
  &amp;lt;SASentry name=&amp;quot;other sample&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;!-- any number of additional experiments can be included, as desired --&amp;gt;&lt;br /&gt;
    &amp;lt;!-- SASentry elements in the same XML file do not have to be related --&amp;gt;&lt;br /&gt;
  &amp;lt;/SASentry&amp;gt;&lt;br /&gt;
&amp;lt;/SASroot&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Documentation and Definitions =&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Documentation&#039;&#039;&#039;: [[cansas1d_documentation]]  (this page)&lt;br /&gt;
* &#039;&#039;&#039;Definitions&#039;&#039;&#039;:   [[cansas1d_definition_of_terms]]&lt;br /&gt;
* &#039;&#039;&#039;Block diagrams&#039;&#039;&#039;: [[cansas1d_documentation#block_diagrams]]&lt;br /&gt;
&lt;br /&gt;
== XML Schema ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;XML Schema&#039;&#039;&#039;: defines the rules for the XML file format ([http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk/cansas1d.xsd TRAC], [http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd SVN])&lt;br /&gt;
* [[xsd-documentation.xsl | XSL stylesheet]] (used to extract information shown on the [[cansas1d_definition_of_terms | Schema documentation page]])&lt;br /&gt;
&lt;br /&gt;
== XML Stylesheets ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;example.xsl&#039;&#039;&#039;: XSLT stylesheets can be used to extract metadata or to convert into another file format.  The default canSAS stylesheet [[http://svn.smallangles.net/svn/canSAS/1dwg/trunk/example.xsl | example.xsl]] should be copied into the each folder with canSAS XML data file(s).   It can be used to display the data in a supporting WWW browser (such as Firefox or Internet Explorer) or to import into Microsoft Excel (with the added XML support in Excel).   By default, MS Windows binds &#039;&#039;&#039;*.xml&#039;&#039;&#039; files to start Internet Explorer.  Double-clicking on a canSAS XML data file with the &#039;&#039;&#039;example.xsl&#039;&#039;&#039; stylesheet in the same directory will produce a WWW page with the SAS data and selected metadata.&lt;br /&gt;
&lt;br /&gt;
== Foreign Elements ==&lt;br /&gt;
&lt;br /&gt;
== Examples and Case Studies ==&lt;br /&gt;
&lt;br /&gt;
* [[cansas1d.xml | basic example]]: Note that, for clarity, only one row of data is shown.  This is probably a very good example to use as a starting point for creating XML files with a text editor.&lt;br /&gt;
* [[bimodal-test1.xml]]: Simulated SAS data to test size distribution calculation routines.&lt;br /&gt;
* [[cansas1d_casestudy_collagen | dry chick collagen]]: illustrates the minimum information necessary to meet the requirements of the standard format&lt;br /&gt;
* [[cansas1d_casestudy_af1410 | AF1410 steel]]: SANS study using magnetic contrast variation (with multiple samples and multiple data sets for each sample), the files can be viewed from TRAC (no description yet):  [http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk/examples/af1410/ http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk/examples/af1410/]&lt;br /&gt;
* [[cansas1d-template.xml]]: This is used to test all the rules in the XML Schema.  This is probably not a very good example to use as a starting point for creating XML files with a text editor since it tests many of the special-case rules.&lt;br /&gt;
&lt;br /&gt;
== Support tools for Visualization &amp;amp; Analysis software ==&lt;br /&gt;
&lt;br /&gt;
=== IgorPro ===&lt;br /&gt;
&lt;br /&gt;
An import/export tool for [http://www.wavemetrics.com/ IgorPro] has been created&lt;br /&gt;
([http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk/IgorPro/cansasXML.ipf cansasXML.ipf]).&lt;br /&gt;
You can check out the &amp;lt;nowiki&amp;gt;IgorPro&amp;lt;/nowiki&amp;gt; working directory from the SVN server (see below).&lt;br /&gt;
&lt;br /&gt;
As of 2008-03-14, &lt;br /&gt;
* test suite of XML files developed&lt;br /&gt;
* the support can import the XML files into IgorPro&lt;br /&gt;
* Development of a GUI (to support the [http://usaxs.xor.aps.anl.gov/staff/ilavsky/irena.html Irena] package) has begun&lt;br /&gt;
* Development to add export capabilities (from IgorPro) back to the cansas1d/1.0 format has begun&lt;br /&gt;
&lt;br /&gt;
== Software repositories ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;TRAC&#039;&#039;&#039;:       [http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk]&lt;br /&gt;
* &#039;&#039;&#039;Subversion&#039;&#039;&#039;: [http://svn.smallangles.net/svn/canSAS/1dwg http://svn.smallangles.net/svn/canSAS/1dwg]  &amp;lt;br /&amp;gt;(&amp;lt;nowiki&amp;gt;svn checkout http://svn.smallangles.net/svn/canSAS/1dwg/trunk/ cansas-1dwg&amp;lt;/nowiki&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Validation of XML against the Schema =&lt;br /&gt;
# open browser to:   http://www.xmlvalidation.com/&lt;br /&gt;
# paste content of candidate XML file (with reference in the header to the XML Schema as shown above) into the form&lt;br /&gt;
# press &amp;lt;validate&amp;gt;&lt;br /&gt;
# paste content of [[cansas1d.xsd]] XSD file into form and press &amp;lt;continue validation&amp;gt;&lt;br /&gt;
# check the results&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_orientation&amp;diff=337</id>
		<title>cansas1d orientation</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_orientation&amp;diff=337"/>
		<updated>2008-04-15T16:27:33Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: initial definition&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;gallery caption=&amp;quot;block diagrams&amp;quot;&amp;gt;&lt;br /&gt;
Image:Translation-orientation-geometry.jpg&lt;br /&gt;
Image:Translation-orientation-geometry-2.jpg&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Name&lt;br /&gt;
! {{Headcellstyle}} | Type&lt;br /&gt;
! {{Headcellstyle}} | occurrence&lt;br /&gt;
! {{Headcellstyle}} | Description&lt;br /&gt;
! {{Headcellstyle}} | Attributes&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;roll&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Rotation about the &#039;&#039;Z&#039;&#039; axis (roll). &lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;pitch&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Rotation about the &#039;&#039;X&#039;&#039; axis (pitch). &lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;yaw&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Rotation about the &#039;&#039;Y&#039;&#039; axis (yaw). &lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_position&amp;diff=336</id>
		<title>cansas1d position</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_position&amp;diff=336"/>
		<updated>2008-04-15T16:21:45Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: initial definition&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;gallery caption=&amp;quot;block diagrams&amp;quot;&amp;gt;&lt;br /&gt;
Image:Translation-orientation-geometry.jpg&lt;br /&gt;
Image:Translation-orientation-geometry-2.jpg&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Name&lt;br /&gt;
! {{Headcellstyle}} | Type&lt;br /&gt;
! {{Headcellstyle}} | occurrence&lt;br /&gt;
! {{Headcellstyle}} | Description&lt;br /&gt;
! {{Headcellstyle}} | Attributes&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;x&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Location (or dimension) of the item in X. &lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;y&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Location (or dimension) of the item in Y. &lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;z&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Location (or dimension) of the item in Z. &lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_SASsample&amp;diff=335</id>
		<title>cansas1d SASsample</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_SASsample&amp;diff=335"/>
		<updated>2008-04-15T16:16:25Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: initial definition&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;gallery caption=&amp;quot;block diagrams&amp;quot;&amp;gt;&lt;br /&gt;
Image:cansas1d-v1-3-SASsample.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Name&lt;br /&gt;
! {{Headcellstyle}} | Type&lt;br /&gt;
! {{Headcellstyle}} | occurrence&lt;br /&gt;
! {{Headcellstyle}} | Description&lt;br /&gt;
! {{Headcellstyle}} | Attributes&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;ID&#039;&#039;&#039;&lt;br /&gt;
|| string&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| Text string that identifies this sample.&lt;br /&gt;
|| &lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;thickness&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|| string&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Thickness of this sample. Must specify the unit as an attribute.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{unit}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;transmission&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|| string&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Transmission (1-attenuation) of this sample. Express this as a fraction, not as a percentage. &lt;br /&gt;
NOTE: there is no &amp;quot;unit&amp;quot; attribute.&lt;br /&gt;
|| &lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;temperature&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|| string&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Temperature of this sample. Must specify the unit as an attribute.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{unit}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_position | &#039;&#039;&#039;&#039;&#039;position&#039;&#039;&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Location in X, Y, and Z of the sample.&lt;br /&gt;
|| &lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_orientation | &#039;&#039;&#039;&#039;&#039;orientation&#039;&#039;&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Orientation (rotation) of the sample. &lt;br /&gt;
|| &lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;details&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|| string&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..unbounded]&lt;br /&gt;
|| Any additional sample details. &lt;br /&gt;
|| &lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_any | &#039;&#039;&#039;&#039;&#039;{any}&#039;&#039;&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..unbounded]&lt;br /&gt;
|| Any element(s) not defined in the cansas1d/1.0 standard can be placed at this point.  See [[cansas1d_any | &#039;&#039;{any}&#039;&#039;]] for more details.&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;xmlns:{foreign-prefix}&#039;&#039;&#039;&#039;&#039;=&amp;quot;{foreign-namespace}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_Idata&amp;diff=334</id>
		<title>cansas1d Idata</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_Idata&amp;diff=334"/>
		<updated>2008-04-15T16:05:19Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;gallery caption=&amp;quot;block diagrams&amp;quot;&amp;gt;&lt;br /&gt;
Image:cansas1d-v1-2-SASdata.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Name&lt;br /&gt;
! {{Headcellstyle}} | Type&lt;br /&gt;
! {{Headcellstyle}} | occurrence&lt;br /&gt;
! {{Headcellstyle}} | Description&lt;br /&gt;
! {{Headcellstyle}} | Attributes&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;Q&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| &#039;&#039;Q=(4 &amp;amp;pi; / &amp;amp;lambda;) sin(&amp;amp;theta;)&#039;&#039; where &#039;&#039;&amp;amp;lambda;&#039;&#039; is the wavelength of the radiation and &#039;&#039;2&amp;amp;theta;&#039;&#039; is the angle through which the detected radiation has been scattered.  &lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.  Either &#039;&#039;1/A&#039;&#039; or &#039;&#039;1/nm&#039;&#039; are typical.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;I&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| Intensity of the detected radiation. &lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.  One possibility might be&#039;&#039;1/cm&#039;&#039;.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;Idev&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Estimated standard deviation of &#039;&#039;&#039;I&#039;&#039;&#039;.&lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.  One possibility might be&#039;&#039;1/cm&#039;&#039;.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;Qdev&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Estimated standard deviation of &#039;&#039;&#039;Q&#039;&#039;&#039;. (optional: see note below on usage)&lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.  Either &#039;&#039;1/A&#039;&#039; or &#039;&#039;1/nm&#039;&#039; are typical.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;dQw&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| &#039;&#039;&#039;Q&#039;&#039;&#039; resolution along the axis of scanning (the high-resolution &#039;&#039;slit width&#039;&#039; direction).  Useful for defining resolution data from slit-smearing instruments such as Bonse-Hart geometry.  (optional: see note below on usage)&lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.  Either &#039;&#039;1/A&#039;&#039; or &#039;&#039;1/nm&#039;&#039; are typical.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;dQl&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| &#039;&#039;&#039;Q&#039;&#039;&#039; resolution perpendicular to the axis of scanning (the low-resolution &#039;&#039;slit length&#039;&#039; direction).  Useful for defining resolution data from slit-smearing instruments such as Bonse-Hart geometry.  (optional: see note below on usage)&lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.  Either &#039;&#039;1/A&#039;&#039; or &#039;&#039;1/nm&#039;&#039; are typical.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;Qmean&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Mean value of &#039;&#039;&#039;Q&#039;&#039;&#039; for this datum.  Useful when describing data that has been binned from higher-resolution or from area detectors.&lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.  Either &#039;&#039;1/A&#039;&#039; or &#039;&#039;1/nm&#039;&#039; are typical.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;Shadowfactor&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Describes the adjustment due to the beam stop penumbra. &lt;br /&gt;
&#039;&#039;&#039;(This definition needs revision. NIST?)&#039;&#039;&#039;&lt;br /&gt;
NOTE: There is no &amp;quot;unit&amp;quot; attribute.&lt;br /&gt;
|| &lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
# When an optional element (&#039;&#039;&#039;&#039;&#039;Idev&#039;&#039;&#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;Qdev&#039;&#039;&#039;&#039;&#039;, ...) is used, it must be given in every [[cansas1d_Idata | &#039;&#039;&#039;Idata&#039;&#039;&#039;]] within the enclosing [[cansas1d_SASdata | &#039;&#039;&#039;SASdata&#039;&#039;&#039;]].&lt;br /&gt;
# If either &#039;&#039;&#039;&#039;&#039;dQw&#039;&#039;&#039;&#039;&#039; or &#039;&#039;&#039;&#039;&#039;dQl&#039;&#039;&#039;&#039;&#039; are used, then &#039;&#039;&#039;&#039;&#039;Qdev&#039;&#039;&#039;&#039;&#039; is not permitted to be used.&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_Idata&amp;diff=333</id>
		<title>cansas1d Idata</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_Idata&amp;diff=333"/>
		<updated>2008-04-15T16:03:25Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: initial definition&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;gallery caption=&amp;quot;block diagrams&amp;quot;&amp;gt;&lt;br /&gt;
Image:cansas1d-v1-2-SASdata.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Name&lt;br /&gt;
! {{Headcellstyle}} | Type&lt;br /&gt;
! {{Headcellstyle}} | occurrence&lt;br /&gt;
! {{Headcellstyle}} | Description&lt;br /&gt;
! {{Headcellstyle}} | Attributes&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;Q&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| &amp;lt;math&amp;gt;Q=(4 &amp;amp;pi; / &amp;amp;lambda;) sin(&amp;amp;theta;)&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;&amp;amp;lambda;&amp;lt;/math&amp;gt; is the wavelength of the radiation and &amp;lt;math&amp;gt;2&amp;amp;theta;&amp;lt;/math&amp;gt; is the angle through which the detected radiation has been scattered.  &lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.  Either &#039;&#039;1/A&#039;&#039; or &#039;&#039;1/nm&#039;&#039; are typical.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;I&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| Intensity of the detected radiation. &lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.  One possibility might be&#039;&#039;1/cm&#039;&#039;.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;Idev&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Estimated standard deviation of &#039;&#039;&#039;I&#039;&#039;&#039;.&lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.  One possibility might be&#039;&#039;1/cm&#039;&#039;.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;Qdev&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Estimated standard deviation of &#039;&#039;&#039;Q&#039;&#039;&#039;. (optional: see note below on usage)&lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.  Either &#039;&#039;1/A&#039;&#039; or &#039;&#039;1/nm&#039;&#039; are typical.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;dQw&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| &#039;&#039;&#039;Q&#039;&#039;&#039; resolution along the axis of scanning (the high-resolution &#039;&#039;slit width&#039;&#039; direction).  Useful for defining resolution data from slit-smearing instruments such as Bonse-Hart geometry.  (optional: see note below on usage)&lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.  Either &#039;&#039;1/A&#039;&#039; or &#039;&#039;1/nm&#039;&#039; are typical.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;dQl&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| &#039;&#039;&#039;Q&#039;&#039;&#039; resolution perpendicular to the axis of scanning (the low-resolution &#039;&#039;slit length&#039;&#039; direction).  Useful for defining resolution data from slit-smearing instruments such as Bonse-Hart geometry.  (optional: see note below on usage)&lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.  Either &#039;&#039;1/A&#039;&#039; or &#039;&#039;1/nm&#039;&#039; are typical.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;Qmean&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Mean value of &#039;&#039;&#039;Q&#039;&#039;&#039; for this datum.  Useful when describing data that has been binned from higher-resolution or from area detectors.&lt;br /&gt;
The &#039;&#039;&#039;unit&#039;&#039;&#039; attribute is required.  See [[cansas1d_documentation#Rules]] for acceptable values.  Either &#039;&#039;1/A&#039;&#039; or &#039;&#039;1/nm&#039;&#039; are typical.&lt;br /&gt;
|| &#039;&#039;&#039;unit&#039;&#039;&#039;=&amp;quot;{units}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;Shadowfactor&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
|| floating-point number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| Describes the adjustment due to the beam stop penumbra. &lt;br /&gt;
&#039;&#039;&#039;(This definition needs revision. NIST?)&#039;&#039;&#039;&lt;br /&gt;
NOTE: There is no &amp;quot;unit&amp;quot; attribute.&lt;br /&gt;
|| &lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_any | &#039;&#039;&#039;&#039;&#039;{any}&#039;&#039;&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..unbounded]&lt;br /&gt;
|| Any element(s) not defined in the cansas1d/1.0 standard can be placed at this point.  See [[cansas1d_any | &#039;&#039;{any}&#039;&#039;]] for more details.&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;xmlns:{foreign-prefix}&#039;&#039;&#039;&#039;&#039;=&amp;quot;{foreign-namespace}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
# When an optional element (&#039;&#039;&#039;&#039;&#039;Idev&#039;&#039;&#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;Qdev&#039;&#039;&#039;&#039;&#039;, ...) is used, it must be given in every [[cansas1d_Idata | &#039;&#039;&#039;Idata&#039;&#039;&#039;]] within the enclosing [[cansas1d_SASdata | &#039;&#039;&#039;SASdata&#039;&#039;&#039;]].&lt;br /&gt;
# If either &#039;&#039;&#039;&#039;&#039;dQw&#039;&#039;&#039;&#039;&#039; or &#039;&#039;&#039;&#039;&#039;dQl&#039;&#039;&#039;&#039;&#039; are used, then &#039;&#039;&#039;&#039;&#039;Qdev&#039;&#039;&#039;&#039;&#039; is not permitted to be used.&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_SASentry&amp;diff=332</id>
		<title>cansas1d SASentry</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_SASentry&amp;diff=332"/>
		<updated>2008-04-15T15:45:09Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;this page (and below) under construction&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery caption=&amp;quot;block diagrams&amp;quot;&amp;gt;&lt;br /&gt;
Image:cansas1d-v1-1-SASroot.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Name&lt;br /&gt;
! {{Headcellstyle}} | Type&lt;br /&gt;
! {{Headcellstyle}} | occurrence&lt;br /&gt;
! {{Headcellstyle}} | Description&lt;br /&gt;
! {{Headcellstyle}} | Attributes&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;Title&#039;&#039;&#039;&lt;br /&gt;
|| string&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| Title of this &#039;&#039;&#039;SASentry&#039;&#039;&#039;.&lt;br /&gt;
|| &lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;Run&#039;&#039;&#039;&lt;br /&gt;
|| string&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..unbounded]&lt;br /&gt;
|| Run identification for this [[cansas1d_SASentry | &#039;&#039;&#039;SASentry&#039;&#039;&#039;]]. &lt;br /&gt;
For many facilities, this is an integer. Use multiple instances of &#039;&#039;&#039;Run&#039;&#039;&#039; as needed. &lt;br /&gt;
&lt;br /&gt;
Note: How to correlate this with [[cansas1d_SASdata | &#039;&#039;&#039;SASdata&#039;&#039;&#039;]] and [[cansas1d_SASinstrument | &#039;&#039;&#039;SASinstrument&#039;&#039;&#039;]] configurations has not yet been defined.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;name&#039;&#039;&#039; is an optional string attribute to identify this particular &#039;&#039;&#039;Run&#039;&#039;&#039;.  Could use this to associate (correlate) multiple [[cansas1d_SASdata | &#039;&#039;&#039;SASdata&#039;&#039;&#039;]] elements with &#039;&#039;&#039;Run&#039;&#039;&#039; elements. (Give them the same &#039;&#039;short-Run-identifier&#039;&#039;.)&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;name&#039;&#039;&#039;&#039;&#039;=&amp;quot;{short-Run-identifier}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_any | &#039;&#039;&#039;&#039;&#039;{any}&#039;&#039;&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..unbounded]&lt;br /&gt;
|| Any element(s) not defined in the cansas1d/1.0 standard can be placed at this point.  See [[cansas1d_any | &#039;&#039;{any}&#039;&#039;]] for more details.&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;xmlns:{foreign-prefix}&#039;&#039;&#039;&#039;&#039;=&amp;quot;{foreign-namespace}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASdata | &#039;&#039;&#039;SASdata&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..unbounded]&lt;br /&gt;
|| Reduced 1-D SAS data for this [[cansas1d_SASentry | &#039;&#039;&#039;SASentry&#039;&#039;&#039;]]. Use multiple [[cansas1d_SASdata | &#039;&#039;&#039;SASdata&#039;&#039;&#039;]] elements to represent multiple frames. Use this to associate (correlate) multiple [[cansas1d_SASdata | &#039;&#039;&#039;SASdata&#039;&#039;&#039;]] elements with &#039;&#039;&#039;Run&#039;&#039;&#039; elements. (Give them the same name.) &lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;name&#039;&#039;&#039;&#039;&#039;=&amp;quot;{short-Run-identifier}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_any | &#039;&#039;&#039;&#039;&#039;{any}&#039;&#039;&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..unbounded]&lt;br /&gt;
|| Any element(s) not defined in the cansas1d/1.0 standard can be placed at this point.  See [[cansas1d_any | &#039;&#039;{any}&#039;&#039;]] for more details.&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;xmlns:{foreign-prefix}&#039;&#039;&#039;&#039;&#039;=&amp;quot;{foreign-namespace}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASsample | &#039;&#039;&#039;SASsample&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| Description of the sample.&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;name&#039;&#039;&#039;&#039;&#039;=&amp;quot;{short-SASsample-identifier}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASinstrument | &#039;&#039;&#039;SASinstrument&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| Description of the instrument&lt;br /&gt;
|| &lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASprocess | &#039;&#039;&#039;SASprocess&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..unbounded]&lt;br /&gt;
|| Description of a processing or analysis step.&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;name&#039;&#039;&#039;&#039;&#039;=&amp;quot;{short-SASprocess-identifier}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASnote | &#039;&#039;&#039;&#039;&#039;SASnote&#039;&#039;&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..unbounded]&lt;br /&gt;
|| Free form description of anything not covered by other elements.&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;name&#039;&#039;&#039;&#039;&#039;=&amp;quot;{short-SASnote-identifier}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_SASentry&amp;diff=331</id>
		<title>cansas1d SASentry</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_SASentry&amp;diff=331"/>
		<updated>2008-04-15T15:38:22Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;this page (and below) under construction&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery caption=&amp;quot;block diagrams&amp;quot;&amp;gt;&lt;br /&gt;
Image:cansas1d-v1-1-SASroot.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Name&lt;br /&gt;
! {{Headcellstyle}} | Type&lt;br /&gt;
! {{Headcellstyle}} | occurrence&lt;br /&gt;
! {{Headcellstyle}} | Description&lt;br /&gt;
! {{Headcellstyle}} | Attributes&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;Title&#039;&#039;&#039;&lt;br /&gt;
|| string&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| Title of this &#039;&#039;&#039;SASentry&#039;&#039;&#039;.&lt;br /&gt;
|| &lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;Run&#039;&#039;&#039;&lt;br /&gt;
|| string&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..unbounded]&lt;br /&gt;
|| Run identification for this [[cansas1d_SASentry | &#039;&#039;&#039;SASentry&#039;&#039;&#039;]]. &lt;br /&gt;
For many facilities, this is an integer. Use multiple instances of &#039;&#039;&#039;Run&#039;&#039;&#039; as needed. &lt;br /&gt;
&lt;br /&gt;
Note: How to correlate this with [[cansas1d_SASdata | &#039;&#039;&#039;SASdata&#039;&#039;&#039;]] and [[cansas1d_SASinstrument | &#039;&#039;&#039;SASinstrument&#039;&#039;&#039;]] configurations has not yet been defined.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;name&#039;&#039;&#039; is an optional string attribute to identify this particular &#039;&#039;&#039;Run&#039;&#039;&#039;.  Could use this to associate (correlate) multiple [[cansas1d_SASdata | &#039;&#039;&#039;SASdata&#039;&#039;&#039;]] elements with &#039;&#039;&#039;Run&#039;&#039;&#039; elements. (Give them the same &#039;&#039;short-Run-identifier&#039;&#039;.)&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;name&#039;&#039;&#039;&#039;&#039;=&amp;quot;{short-Run-identifier}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_any | &#039;&#039;{any}&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..unbounded]&lt;br /&gt;
|| Any element(s) not defined in the cansas1d/1.0 standard can be placed at this point.  See [[cansas1d_any | &#039;&#039;{any}&#039;&#039;]] for more details.&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;xmlns:{foreign-prefix}&#039;&#039;&#039;&#039;&#039;=&amp;quot;{foreign-namespace}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASdata | &#039;&#039;&#039;SASdata&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..unbounded]&lt;br /&gt;
|| Reduced 1-D SAS data for this [[cansas1d_SASentry | &#039;&#039;&#039;SASentry&#039;&#039;&#039;]]. Use multiple [[cansas1d_SASdata | &#039;&#039;&#039;SASdata&#039;&#039;&#039;]] elements to represent multiple frames. Use this to associate (correlate) multiple [[cansas1d_SASdata | &#039;&#039;&#039;SASdata&#039;&#039;&#039;]] elements with &#039;&#039;&#039;Run&#039;&#039;&#039; elements. (Give them the same name.) &lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;name&#039;&#039;&#039;&#039;&#039;=&amp;quot;{short-Run-identifier}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_any | &#039;&#039;{any}&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..unbounded]&lt;br /&gt;
|| Any element(s) not defined in the cansas1d/1.0 standard can be placed at this point.  See [[cansas1d_any | &#039;&#039;{any}&#039;&#039;]] for more details.&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;xmlns:{foreign-prefix}&#039;&#039;&#039;&#039;&#039;=&amp;quot;{foreign-namespace}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASsample | &#039;&#039;&#039;SASsample&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| Description of the sample.&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;name&#039;&#039;&#039;&#039;&#039;=&amp;quot;{short-SASsample-identifier}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASinstrument | &#039;&#039;&#039;SASinstrument&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| Description of the instrument&lt;br /&gt;
|| &lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASprocess | &#039;&#039;&#039;SASprocess&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..unbounded]&lt;br /&gt;
|| Description of a processing or analysis step.&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;name&#039;&#039;&#039;&#039;&#039;=&amp;quot;{short-SASprocess-identifier}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASnote | &#039;&#039;&#039;SASnote&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..unbounded]&lt;br /&gt;
|| Free form description of anything not covered by other elements.&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;name&#039;&#039;&#039;&#039;&#039;=&amp;quot;{short-SASnote-identifier}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_SASdata&amp;diff=330</id>
		<title>cansas1d SASdata</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_SASdata&amp;diff=330"/>
		<updated>2008-04-15T15:26:20Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: New page: &amp;lt;gallery caption=&amp;quot;block diagrams&amp;quot;&amp;gt; Image:cansas1d-v1-2-SASdata.png &amp;lt;/gallery&amp;gt;  {| {{Tablestyle}} |- ! {{Headcellstyle}} | Name ! {{Headcellstyle}} | Type ! {{Headcellstyle}} | occurrence !...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;gallery caption=&amp;quot;block diagrams&amp;quot;&amp;gt;&lt;br /&gt;
Image:cansas1d-v1-2-SASdata.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Name&lt;br /&gt;
! {{Headcellstyle}} | Type&lt;br /&gt;
! {{Headcellstyle}} | occurrence&lt;br /&gt;
! {{Headcellstyle}} | Description&lt;br /&gt;
! {{Headcellstyle}} | Attributes&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_Idata | &#039;&#039;&#039;Idata&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..unbounded]&lt;br /&gt;
|| Idata describes a single SAS data point.&lt;br /&gt;
|| &lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_SASentry&amp;diff=329</id>
		<title>cansas1d SASentry</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_SASentry&amp;diff=329"/>
		<updated>2008-04-15T15:21:40Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;this page (and below) under construction&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery caption=&amp;quot;block diagrams&amp;quot;&amp;gt;&lt;br /&gt;
Image:cansas1d-v1-1-SASroot.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Name&lt;br /&gt;
! {{Headcellstyle}} | Type&lt;br /&gt;
! {{Headcellstyle}} | occurrence&lt;br /&gt;
! {{Headcellstyle}} | Description&lt;br /&gt;
! {{Headcellstyle}} | Attributes&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;Title&#039;&#039;&#039;&lt;br /&gt;
|| string&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| Title of this &#039;&#039;&#039;SASentry&#039;&#039;&#039;.&lt;br /&gt;
|| &lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;Run&#039;&#039;&#039;&lt;br /&gt;
|| string&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..unbounded]&lt;br /&gt;
|| Run identification for this [[cansas1d_SASentry | &#039;&#039;&#039;SASentry&#039;&#039;&#039;]]. &lt;br /&gt;
For many facilities, this is an integer. Use multiple instances of &#039;&#039;&#039;Run&#039;&#039;&#039; as needed. &lt;br /&gt;
&lt;br /&gt;
Note: How to correlate this with [[cansas1d_SASdata | &#039;&#039;&#039;SASdata&#039;&#039;&#039;]] and [[cansas1d_SASinstrument | &#039;&#039;&#039;SASinstrument&#039;&#039;&#039;]] configurations has not yet been defined.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;name&#039;&#039;&#039; is an optional string attribute to identify this particular &#039;&#039;&#039;Run&#039;&#039;&#039;.  Could use this to associate (correlate) multiple [[cansas1d_SASdata | &#039;&#039;&#039;SASdata&#039;&#039;&#039;]] elements with &#039;&#039;&#039;Run&#039;&#039;&#039; elements. (Give them the same &#039;&#039;short-Run-identifier&#039;&#039;.)&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;name&#039;&#039;&#039;&#039;&#039;=&amp;quot;{short-Run-identifier}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_any | &#039;&#039;{any}&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..unbounded]&lt;br /&gt;
|| Any element(s) not defined in the cansas1d/1.0 standard can be placed at this point.  See [[cansas1d_any | &#039;&#039;{any}&#039;&#039;]] for more details.&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;xmlns:{foreign-prefix}&#039;&#039;&#039;&#039;&#039;=&amp;quot;{foreign-namespace}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASdata | &#039;&#039;&#039;SASdata&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..unbounded]&lt;br /&gt;
|| Reduced 1-D SAS data for this [[cansas1d_SASentry | &#039;&#039;&#039;SASentry&#039;&#039;&#039;]]. Use multiple [[cansas1d_SASdata | &#039;&#039;&#039;SASdata&#039;&#039;&#039;]] elements to represent multiple frames. Use this to associate (correlate) multiple [[cansas1d_SASdata | &#039;&#039;&#039;SASdata&#039;&#039;&#039;]] elements with &#039;&#039;&#039;Run&#039;&#039;&#039; elements. (Give them the same name.) &lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;name&#039;&#039;&#039;&#039;&#039;=&amp;quot;{short-Run-identifier}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_any | &#039;&#039;{any}&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..unbounded]&lt;br /&gt;
|| Any element(s) not defined in the cansas1d/1.0 standard can be placed at this point.  See [[cansas1d_any | &#039;&#039;{any}&#039;&#039;]] for more details.&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;xmlns:{foreign-prefix}&#039;&#039;&#039;&#039;&#039;=&amp;quot;{foreign-namespace}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASsample | &#039;&#039;&#039;SASsample&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| Description of the sample.&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;name&#039;&#039;&#039;&#039;&#039;=&amp;quot;{short-SASsample-identifier}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASinstrument | &#039;&#039;&#039;SASinstrument&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| Description of the instrument&lt;br /&gt;
|| &lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASprocess | &#039;&#039;&#039;SASprocess&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..unbounded]&lt;br /&gt;
|| Description of a processing or analysis step.&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;name&#039;&#039;&#039;&#039;&#039;=&amp;quot;{short-SASprocess-identifier}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASnote | &#039;&#039;&#039;SASnote&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..unbounded]&lt;br /&gt;
|| Free form description of anything not covered by other elements.&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;name&#039;&#039;&#039;&#039;&#039;=&amp;quot;{short-SASnote-identifier}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_any&amp;diff=328</id>
		<title>cansas1d any</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_any&amp;diff=328"/>
		<updated>2008-04-15T15:17:06Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: New page: - this page needs more work -  {| {{Tablestyle}} |- ! {{Headcellstyle}} | Name ! {{Headcellstyle}} | Type ! {{Headcellstyle}} | occurrence ! {{Headcellstyle}} | Description ! {{Headcellsty...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;- this page needs more work -&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Name&lt;br /&gt;
! {{Headcellstyle}} | Type&lt;br /&gt;
! {{Headcellstyle}} | occurrence&lt;br /&gt;
! {{Headcellstyle}} | Description&lt;br /&gt;
! {{Headcellstyle}} | Attributes&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_any | &#039;&#039;{any}&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..unbounded]&lt;br /&gt;
|| Any element(s) not defined in the cansas1d/1.0 standard can be placed at this point.   (These are called &#039;&#039;foreign&#039;&#039; elements.  It is suggested to associate foreign elements with a foreign namespace to differentiate them from the canSAS elements in the XML file.)&lt;br /&gt;
|| &#039;&#039;&#039;&#039;&#039;xmlns:{foreign-prefix}&#039;&#039;&#039;&#039;&#039;=&amp;quot;{foreign-namespace}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_SASroot&amp;diff=327</id>
		<title>cansas1d SASroot</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_SASroot&amp;diff=327"/>
		<updated>2008-04-15T14:49:54Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;gallery caption=&amp;quot;block diagrams&amp;quot;&amp;gt;&lt;br /&gt;
Image:cansas1d-v1-1-SASroot.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Name&lt;br /&gt;
! {{Headcellstyle}} | Type&lt;br /&gt;
! {{Headcellstyle}} | occurrence&lt;br /&gt;
! {{Headcellstyle}} | Description&lt;br /&gt;
! {{Headcellstyle}} | Attributes&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASentry | &#039;&#039;&#039;SASentry&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..unbounded]&lt;br /&gt;
|| A single SAS scan is reported in a [[cansas1d_SASentry | &#039;&#039;&#039;SASentry&#039;&#039;&#039;]].  Include as many [[cansas1d_SASentry | &#039;&#039;&#039;SASentry&#039;&#039;&#039;]] elements as desired.  They may contain related or unrelated data.&lt;br /&gt;
&#039;&#039;&#039;name&#039;&#039;&#039; is an optional attribute to provide a string for this [[cansas1d_SASentry | &#039;&#039;&#039;SASentry&#039;&#039;&#039;]]. (Use of this string is not defined by this standard.)&lt;br /&gt;
|| name=&amp;quot;short-name&amp;quot;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_SASroot&amp;diff=326</id>
		<title>cansas1d SASroot</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_SASroot&amp;diff=326"/>
		<updated>2008-04-15T14:49:03Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;gallery caption=&amp;quot;block diagrams&amp;quot;&amp;gt;&lt;br /&gt;
Image:cansas1d-v1-1-SASroot.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Name&lt;br /&gt;
! {{Headcellstyle}} | Type&lt;br /&gt;
! {{Headcellstyle}} | occurrence&lt;br /&gt;
! {{Headcellstyle}} | Description&lt;br /&gt;
! {{Headcellstyle}} | Attributes&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASentry | &#039;&#039;&#039;SASentry&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..unbounded]&lt;br /&gt;
|| A single SAS scan is reported in a &#039;&#039;&#039;SASentry&#039;&#039;&#039;.  Include as many &#039;&#039;&#039;SASentry&#039;&#039;&#039; elements as desired.  They may contain related or unrelated data.&lt;br /&gt;
&#039;&#039;&#039;name&#039;&#039;&#039; is an optional attribute to provide a string for this SASentry. (Use of this string is not defined by this standard.)&lt;br /&gt;
|| name=&amp;quot;short-name&amp;quot;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_block_diagrams&amp;diff=325</id>
		<title>cansas1d block diagrams</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_block_diagrams&amp;diff=325"/>
		<updated>2008-04-15T14:48:38Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;gallery caption=&amp;quot;block diagrams&amp;quot;&amp;gt;&lt;br /&gt;
Image:cansas1d-v1-1-SASroot.png              | 1. [[cansas1d_XML_header | XML header]]&amp;lt;br /&amp;gt;[[cansas1d_SASroot | SASroot]]&amp;lt;br /&amp;gt;[[cansas1d_SASentry | SASentry]]&lt;br /&gt;
Image:cansas1d-v1-2-SASdata.png              | 2. [[cansas1d_SASdata | SASdata ]]&lt;br /&gt;
Image:cansas1d-v1-3-SASsample.png            | 3. [[cansas1d_SASsample | SASsample ]]&lt;br /&gt;
Image:cansas1d-v1-4-SASinstrument.png        | 4. [[cansas1d_SASinstrument | SASinstrument ]]&lt;br /&gt;
Image:cansas1d-v1-5-SASsource.png            | 5. [[cansas1d_SASsource | SASsource ]]&lt;br /&gt;
Image:cansas1d-v1-6-SAScollimation.png       | 6. [[cansas1d_SAScollimation | SAScollimation ]]&lt;br /&gt;
Image:cansas1d-v1-7-SASdetector.png          | 7. [[cansas1d_SASdetector | SASdetector ]]&lt;br /&gt;
Image:cansas1d-v1-8-SASprocess.png           | 8. [[cansas1d_SASprocess | SASprocess ]]&lt;br /&gt;
Image:cansas1d-v1-9-full.png                 | 9. full&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_XML_header&amp;diff=324</id>
		<title>cansas1d XML header</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_XML_header&amp;diff=324"/>
		<updated>2008-04-15T14:42:41Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;gallery caption=&amp;quot;block diagrams&amp;quot;&amp;gt;&lt;br /&gt;
Image:cansas1d-v1-1-SASroot.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Name&lt;br /&gt;
! {{Headcellstyle}} | Type&lt;br /&gt;
! {{Headcellstyle}} | occurrence&lt;br /&gt;
! {{Headcellstyle}} | Description&lt;br /&gt;
! {{Headcellstyle}} | Attributes&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|| &#039;&#039;xml declaration&#039;&#039;&lt;br /&gt;
|| header&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| &amp;lt;pre&amp;gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&amp;lt;/pre&amp;gt;Required first line of every well-formed XML file.  &#039;&#039;&#039;version=&amp;quot;1.0&amp;quot;&#039;&#039;&#039; refers to version 1.0 of the XML standard.&lt;br /&gt;
|| version=&amp;quot;1.0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;stylesheet&#039;&#039;&lt;br /&gt;
|| header&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| &amp;lt;pre&amp;gt;&amp;lt;?xml-stylesheet type=&amp;quot;text/xsl&amp;quot; href=&amp;quot;example.xsl&amp;quot; ?&amp;gt;&amp;lt;/pre&amp;gt;Declares that &#039;&#039;example.xsl&#039;&#039; (needs to be in the local directory) will be the default stylesheet to an XML visualization tool.  Change &#039;&#039;example.xsl&#039;&#039; to indicate a different stylesheet in the local directory.  Refer to [http://www.w3schools.com/xsl W3 Schools XSLT Help] for assistance in constructing XSLT files.&lt;br /&gt;
&lt;br /&gt;
XML rules actually allow for multiple stylesheet declarations.  Explore this possibility as your own adventure.&lt;br /&gt;
|| type=&amp;quot;text/xsl&amp;quot;&amp;lt;br /&amp;gt;href=&amp;quot;example.xsl&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASroot | &#039;&#039;&#039;SASroot&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| The canSAS reduced 1-D SAS data (cansas1d/1.0) will be in the &#039;&#039;&#039;SASroot&#039;&#039;&#039; database. &lt;br /&gt;
(This is similar to NXroot used by NeXus.)&lt;br /&gt;
* &#039;&#039;&#039;version=&amp;quot;1.0&amp;quot;&#039;&#039;&#039; is required to identify the cansas1d/1.0 standard for SAS data.&lt;br /&gt;
* &#039;&#039;&#039;xmlns&#039;&#039;&#039; sets the default namespace for all elements (with no prefix) in this file.&lt;br /&gt;
* &#039;&#039;&#039;xmlns:xsi&#039;&#039;&#039; sets &#039;&#039;&#039;xsi&#039;&#039;&#039; as the prefix for any elements from the governing XML Schema.&lt;br /&gt;
* &#039;&#039;&#039;xsi:schemaLocation&#039;&#039;&#039;  associates a suggested URL (where the cansas1d/1.0 XML Schema might be found) with the default namespace string.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;SASroot version=&amp;quot;1.0&amp;quot;&lt;br /&gt;
    xmlns=&amp;quot;cansas1d/1.0&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&lt;br /&gt;
    xsi:schemaLocation=&amp;quot;cansas1d/1.0 http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd&amp;quot;&lt;br /&gt;
    &amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|| version=&amp;quot;1.0&amp;quot;&amp;lt;br /&amp;gt;xmlns=&amp;quot;{this-namespace-URI}&amp;quot;&amp;lt;br /&amp;gt;xmlns:xsi=&amp;quot;{URL-of-governing-XML-Schema}&amp;quot;&amp;lt;br /&amp;gt;xsi:schemaLocation=&amp;quot;{this-namespace-URI} {URL-to-find-XML-Schema}&amp;quot;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_block_diagrams&amp;diff=323</id>
		<title>cansas1d block diagrams</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_block_diagrams&amp;diff=323"/>
		<updated>2008-04-14T23:14:02Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;gallery caption=&amp;quot;block diagrams&amp;quot;&amp;gt;&lt;br /&gt;
Image:cansas1d-v1-1-SASroot.png              | 1. SASroot/SASentry&lt;br /&gt;
Image:cansas1d-v1-2-SASdata.png              | 2. SASdata&lt;br /&gt;
Image:cansas1d-v1-3-SASsample.png            | 3. SASsample&lt;br /&gt;
Image:cansas1d-v1-4-SASinstrument.png        | 4. SASinstrument&lt;br /&gt;
Image:cansas1d-v1-5-SASsource.png            | 5. SASsource&lt;br /&gt;
Image:cansas1d-v1-6-SAScollimation.png       | 6. SAScollimation&lt;br /&gt;
Image:cansas1d-v1-7-SASdetector.png          | 7. SASdetector&lt;br /&gt;
Image:cansas1d-v1-8-SASprocess.png           | 8. SASprocess&lt;br /&gt;
Image:cansas1d-v1-9-full.png                 | 9. full&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_block_diagrams&amp;diff=322</id>
		<title>cansas1d block diagrams</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_block_diagrams&amp;diff=322"/>
		<updated>2008-04-14T23:13:21Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;gallery caption=&amp;quot;block diagrams&amp;quot;&amp;gt;&lt;br /&gt;
Image:cansas1d-v1-1-SASroot.png              | 1. SASroot&lt;br /&gt;
Image:cansas1d-v1-2-SASdata.png              | 2. SASdata&lt;br /&gt;
Image:cansas1d-v1-3-SASsample.png            | 3. SASsample&lt;br /&gt;
Image:cansas1d-v1-4-SASinstrument.png        | 4. SASinstrument&lt;br /&gt;
Image:cansas1d-v1-5-SASsource.png            | 5. SASsource&lt;br /&gt;
Image:cansas1d-v1-6-SAScollimation.png       | 6. SAScollimation&lt;br /&gt;
Image:cansas1d-v1-7-SASdetector.png          | 7. SASdetector&lt;br /&gt;
Image:cansas1d-v1-8-SASprocess.png           | 8. SASprocess&lt;br /&gt;
Image:cansas1d-v1-9-full.png                 | 9. full&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_documentation&amp;diff=321</id>
		<title>cansas1d documentation</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_documentation&amp;diff=321"/>
		<updated>2008-04-14T23:04:50Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: /* block diagrams */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Disclaimer =&lt;br /&gt;
&lt;br /&gt;
This description is meant to inform the community how to layout&lt;br /&gt;
the information within the XML files.  However, should the&lt;br /&gt;
information in this document and the [[cansas1d.xsd | canSAS 1D SAS XML Schema]]&lt;br /&gt;
differ, the XML Schema will be deemed to have the most correct description&lt;br /&gt;
of the standard.&lt;br /&gt;
&lt;br /&gt;
= General Layout of the XML Data =&lt;br /&gt;
&lt;br /&gt;
== overview ==&lt;br /&gt;
&lt;br /&gt;
[[Image:cansas1d-v1-1-SASroot.png|thumb|block diagram at SASroot level]]&lt;br /&gt;
&lt;br /&gt;
After an XML header, the root element of the file is SASroot which &lt;br /&gt;
contains one or more SASentry elements, each of which describes&lt;br /&gt;
a single experiment (data set, time-slice, step in a series, new &lt;br /&gt;
sample, etc.).  Details of the SASentry element are also&lt;br /&gt;
shown in the next figure.  Refer to the &#039;&#039;&#039;block diagram at SASroot level&#039;&#039;&#039;&lt;br /&gt;
for an alternative depiction.  See [[cansas1d.xml]] for an example XML file.&lt;br /&gt;
Examples, Case Studies, and  other background information are below.  More discussion can be found on the [[1D_Data_Formats_Working_Group|canSAS 1D Data Formats Working Group]] page and its [[Talk:1D_Data_Formats_Working_Group|discussion]] page.  Details about &lt;br /&gt;
each specific field (XPath string, XML elements and attributes) are described &lt;br /&gt;
on the [[cansas1d_definition_of_terms]] page.&lt;br /&gt;
&lt;br /&gt;
=== descriptions ===&lt;br /&gt;
* [[cansas1d_XML_header | XML header]]&lt;br /&gt;
** [[cansas1d_SASroot | SASroot]]&lt;br /&gt;
*** [[cansas1d_SASentry | SASentry]]&lt;br /&gt;
* [[cansas1d_definition_of_terms | Definition of Terms List]]&lt;br /&gt;
&lt;br /&gt;
=== block diagrams ===&lt;br /&gt;
There are [[cansas1d_block_diagrams | block diagrams]] available to describe the standard:&lt;br /&gt;
*[[media:cansas1d-v1-1-SASroot.png | SASroot]]&lt;br /&gt;
** SASentry (data set, time-slice, step in a series, new sample, etc.)&lt;br /&gt;
***Title (for this particular SASentry)&lt;br /&gt;
***Run (run number or ID number of experiment)&lt;br /&gt;
***[[media:cansas1d-v1-2-SASdata.png | SASdata]] (this is where the reduced 1-D SAS data is stored)&lt;br /&gt;
***[[media:cansas1d-v1-3-SASsample.png | SASsample]]&lt;br /&gt;
***[[media:cansas1d-v1-4-SASinstrument.png | SASinstrument]]&lt;br /&gt;
****[[media:cansas1d-v1-5-SASsource.png | SASsource]]&lt;br /&gt;
****[[media:cansas1d-v1-6-SAScollimation.png | SAScollimation]]&lt;br /&gt;
****[[media:cansas1d-v1-7-SASdetector.png | SASdetector]]&lt;br /&gt;
***[[media:cansas1d-v1-8-SASprocess.png | SASprocess]] (for each processing or analysis step)&lt;br /&gt;
*** SASnote (anything at all)&lt;br /&gt;
* [[media:cansas1d-v1-9-full.png | full block diagram]]&lt;br /&gt;
&lt;br /&gt;
=== required XML file header ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;?xml-stylesheet type=&amp;quot;text/xsl&amp;quot; href=&amp;quot;example.xsl&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;SASroot version=&amp;quot;1.0&amp;quot;&lt;br /&gt;
    xmlns=&amp;quot;cansas1d/1.0&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&lt;br /&gt;
    xsi:schemaLocation=&amp;quot;cansas1d/1.0 http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd&amp;quot;&lt;br /&gt;
    &amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Rules ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Q-geometry.jpg|thumb|definition of Q geometry for small-angle scattering]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Translation-orientation-geometry-2.jpg|thumb|definition of translation and orientation geometry]]&lt;br /&gt;
&lt;br /&gt;
# canSAS1d/1.0 XML data files will adhere to the standard if they can successfully [[cansas1d_documentation#Validation_of_XML_against_the_Schema | validate]] against the established XML Schema ([http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd])&lt;br /&gt;
# Q=(4 &amp;amp;pi; / &amp;amp;lambda;) sin(&amp;amp;theta;) &amp;lt;br&amp;gt; where &amp;amp;lambda; is the wavelength of the radiation and 2&amp;amp;theta; is the angle through which the detected radiation has been scattered.&lt;br /&gt;
# units to be given in standard SI abbreviations (eg, m, cm, mm, nm, K) with the following exceptions: &lt;br /&gt;
##um=micrometres&lt;br /&gt;
##C=celsius&lt;br /&gt;
##A=Angstroms&lt;br /&gt;
##percent=%.&lt;br /&gt;
##fraction&lt;br /&gt;
##a.u.=arbitrary units&lt;br /&gt;
##none=no units are relevant (such as dimensionless)&lt;br /&gt;
# where reciprocal units need to be quoted the format shall be &amp;quot;1/abbreviation&amp;quot;&lt;br /&gt;
# axes:&lt;br /&gt;
##z is along the flight path (positive value in the direction of the detector)&lt;br /&gt;
##x is orthogonal to z in the horizontal plane (positive values increase to the right when viewed towards the incoming radiation)&lt;br /&gt;
##y is orthogonal to z and x in the vertical plane (positive values increase upwards)&lt;br /&gt;
#orientation (angles): &lt;br /&gt;
##roll is about z&lt;br /&gt;
##pitch is about x&lt;br /&gt;
##yaw is about y&lt;br /&gt;
# Unicode characters MUST NOT be used&lt;br /&gt;
# Binary data is not supported&lt;br /&gt;
&lt;br /&gt;
=== Compatibility of Geometry Definitions ===&lt;br /&gt;
&lt;br /&gt;
Note:  translation and orientation geometry used by canSAS are consistent with:&lt;br /&gt;
#http://en.wikipedia.org/wiki/Cartesian_coordinate_system&lt;br /&gt;
#http://en.wikipedia.org/wiki/Right-hand_rule&lt;br /&gt;
#http://www.nexusformat.org/Coordinate_Systems&lt;br /&gt;
#http://mcstas.risoe.dk/documentation/tutorial/node6.html&lt;br /&gt;
#http://webhost5.nts.jhu.edu/reza/book/kinematics/kinematics.htm&lt;br /&gt;
&lt;br /&gt;
The translation and orientation geometry definitions used &lt;br /&gt;
here are different than those used by&lt;br /&gt;
&#039;&#039;&#039;SHADOW&#039;&#039;&#039; ([http://www.nanotech.wisc.edu/shadow/ http://www.nanotech.wisc.edu/shadow/]) &lt;br /&gt;
where the &#039;&#039;y&#039;&#039; and &#039;&#039;z&#039;&#039; axes are swapped &lt;br /&gt;
and the direction of &#039;&#039;x&#039;&#039; is changed.&lt;br /&gt;
&lt;br /&gt;
== XML layout for multiple experiments ==&lt;br /&gt;
&lt;br /&gt;
Each experiment is described with a single &#039;&#039;&#039;SASentry&#039;&#039;&#039; element.&lt;br /&gt;
The brief example below shows how multiple experiments can be included &lt;br /&gt;
in a single XML file.  (For the sake of brevity, the data for each experiment&lt;br /&gt;
has been omitted from the example below.)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;?xml-stylesheet type=&amp;quot;text/xsl&amp;quot; href=&amp;quot;example.xsl&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;SASroot version=&amp;quot;1.0&amp;quot;&lt;br /&gt;
    xmlns=&amp;quot;cansas1d/1.0&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&lt;br /&gt;
    xsi:schemaLocation=&amp;quot;cansas1d/1.0 http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd&amp;quot;&lt;br /&gt;
    &amp;gt;&lt;br /&gt;
  &amp;lt;SASentry name=&amp;quot;071121.dat#S22&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;!-- contents of the first experiment in the file go here --&amp;gt;&lt;br /&gt;
  &amp;lt;/SASentry&amp;gt;&lt;br /&gt;
  &amp;lt;SASentry name=&amp;quot;example temperature series&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;!-- example with two SAS data sets related to the same sample --&amp;gt;&lt;br /&gt;
    &amp;lt;Title&amp;gt;title of this series&amp;lt;/Title&amp;gt;&lt;br /&gt;
    &amp;lt;Run name=&amp;quot;run1&amp;quot;&amp;gt;42-001&amp;lt;/Run&amp;gt;&lt;br /&gt;
    &amp;lt;Run name=&amp;quot;run2&amp;quot;&amp;gt;42-002&amp;lt;/Run&amp;gt;&lt;br /&gt;
    &amp;lt;SASdata name=&amp;quot;run1&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;!-- data from 42-001 run comes here --&amp;gt;&lt;br /&gt;
    &amp;lt;/SASdata&amp;gt;&lt;br /&gt;
    &amp;lt;SASdata name=&amp;quot;run2&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;!-- data from 42-002 run comes here --&amp;gt;&lt;br /&gt;
    &amp;lt;/SASdata&amp;gt;&lt;br /&gt;
    &amp;lt;!-- other elements come here for this entry --&amp;gt;&lt;br /&gt;
  &amp;lt;/SASentry&amp;gt;&lt;br /&gt;
  &amp;lt;SASentry name=&amp;quot;other sample&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;!-- any number of additional experiments can be included, as desired --&amp;gt;&lt;br /&gt;
    &amp;lt;!-- SASentry elements in the same XML file do not have to be related --&amp;gt;&lt;br /&gt;
  &amp;lt;/SASentry&amp;gt;&lt;br /&gt;
&amp;lt;/SASroot&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Documentation and Definitions =&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Documentation&#039;&#039;&#039;: [[cansas1d_documentation]]  (this page)&lt;br /&gt;
* &#039;&#039;&#039;Definitions&#039;&#039;&#039;:   [[cansas1d_definition_of_terms]]&lt;br /&gt;
* &#039;&#039;&#039;Block diagrams&#039;&#039;&#039;: [[cansas1d_documentation#block_diagrams]]&lt;br /&gt;
&lt;br /&gt;
== XML Schema ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;XML Schema&#039;&#039;&#039;: defines the rules for the XML file format ([http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk/cansas1d.xsd TRAC], [http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd SVN])&lt;br /&gt;
* [[xsd-documentation.xsl | XSL stylesheet]] (used to extract information shown on the [[cansas1d_definition_of_terms | Schema documentation page]])&lt;br /&gt;
&lt;br /&gt;
== XML Stylesheets ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;example.xsl&#039;&#039;&#039;: XSLT stylesheets can be used to extract metadata or to convert into another file format.  The default canSAS stylesheet [[http://svn.smallangles.net/svn/canSAS/1dwg/trunk/example.xsl | example.xsl]] should be copied into the each folder with canSAS XML data file(s).   It can be used to display the data in a supporting WWW browser (such as Firefox or Internet Explorer) or to import into Microsoft Excel (with the added XML support in Excel).   By default, MS Windows binds &#039;&#039;&#039;*.xml&#039;&#039;&#039; files to start Internet Explorer.  Double-clicking on a canSAS XML data file with the &#039;&#039;&#039;example.xsl&#039;&#039;&#039; stylesheet in the same directory will produce a WWW page with the SAS data and selected metadata.&lt;br /&gt;
&lt;br /&gt;
== Foreign Elements ==&lt;br /&gt;
&lt;br /&gt;
== Examples and Case Studies ==&lt;br /&gt;
&lt;br /&gt;
* [[cansas1d.xml | basic example]]: Note that, for clarity, only one row of data is shown.  This is probably a very good example to use as a starting point for creating XML files with a text editor.&lt;br /&gt;
* [[bimodal-test1.xml]]: Simulated SAS data to test size distribution calculation routines.&lt;br /&gt;
* [[cansas1d_casestudy_collagen | dry chick collagen]]: illustrates the minimum information necessary to meet the requirements of the standard format&lt;br /&gt;
* [[cansas1d_casestudy_af1410 | AF1410 steel]]: SANS study using magnetic contrast variation (with multiple samples and multiple data sets for each sample), the files can be viewed from TRAC (no description yet):  [http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk/examples/af1410/ http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk/examples/af1410/]&lt;br /&gt;
* [[cansas1d-template.xml]]: This is used to test all the rules in the XML Schema.  This is probably not a very good example to use as a starting point for creating XML files with a text editor since it tests many of the special-case rules.&lt;br /&gt;
&lt;br /&gt;
== Support tools for Visualization &amp;amp; Analysis software ==&lt;br /&gt;
&lt;br /&gt;
=== IgorPro ===&lt;br /&gt;
&lt;br /&gt;
An import/export tool for [http://www.wavemetrics.com/ IgorPro] has been created&lt;br /&gt;
([http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk/IgorPro/cansasXML.ipf cansasXML.ipf]).&lt;br /&gt;
You can check out the &amp;lt;nowiki&amp;gt;IgorPro&amp;lt;/nowiki&amp;gt; working directory from the SVN server (see below).&lt;br /&gt;
&lt;br /&gt;
As of 2008-03-14, &lt;br /&gt;
* test suite of XML files developed&lt;br /&gt;
* the support can import the XML files into IgorPro&lt;br /&gt;
* Development of a GUI (to support the [http://usaxs.xor.aps.anl.gov/staff/ilavsky/irena.html Irena] package) has begun&lt;br /&gt;
* Development to add export capabilities (from IgorPro) back to the cansas1d/1.0 format has begun&lt;br /&gt;
&lt;br /&gt;
== Software repositories ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;TRAC&#039;&#039;&#039;:       [http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk]&lt;br /&gt;
* &#039;&#039;&#039;Subversion&#039;&#039;&#039;: [http://svn.smallangles.net/svn/canSAS/1dwg http://svn.smallangles.net/svn/canSAS/1dwg]  &amp;lt;br /&amp;gt;(&amp;lt;nowiki&amp;gt;svn checkout http://svn.smallangles.net/svn/canSAS/1dwg/trunk/ cansas-1dwg&amp;lt;/nowiki&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Validation of XML against the Schema =&lt;br /&gt;
# open browser to:   http://www.xmlvalidation.com/&lt;br /&gt;
# paste content of candidate XML file (with reference in the header to the XML Schema as shown above) into the form&lt;br /&gt;
# press &amp;lt;validate&amp;gt;&lt;br /&gt;
# paste content of [[cansas1d.xsd]] XSD file into form and press &amp;lt;continue validation&amp;gt;&lt;br /&gt;
# check the results&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_block_diagrams&amp;diff=320</id>
		<title>cansas1d block diagrams</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_block_diagrams&amp;diff=320"/>
		<updated>2008-04-14T23:04:07Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: initial page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
|| [[Image:cansas1d-v1-1-SASroot.png|100x100px]]  &amp;lt;br /&amp;gt; [[media:cansas1d-v1-1-SASroot.png]]&lt;br /&gt;
|| [[Image:cansas1d-v1-2-SASdata.png|100x100px]]  &amp;lt;br /&amp;gt; [[media:cansas1d-v1-2-SASdata.png]]&lt;br /&gt;
|| [[Image:cansas1d-v1-3-SASsample.png|100x100px]]  &amp;lt;br /&amp;gt; [[media:cansas1d-v1-3-SASsample.png]]&lt;br /&gt;
|-&lt;br /&gt;
|| [[Image:cansas1d-v1-4-SASinstrument.png|100x100px]]  &amp;lt;br /&amp;gt; [[media:cansas1d-v1-4-SASinstrument.png]]&lt;br /&gt;
|| [[Image:cansas1d-v1-5-SASsource.png|100x100px]]  &amp;lt;br /&amp;gt; [[media:cansas1d-v1-5-SASsource.png]]&lt;br /&gt;
|| [[Image:cansas1d-v1-6-SAScollimation.png|100x100px]]  &amp;lt;br /&amp;gt; [[media:cansas1d-v1-6-SAScollimation.png]]&lt;br /&gt;
|-&lt;br /&gt;
|| [[Image:cansas1d-v1-7-SASdetector.png|100x100px]]  &amp;lt;br /&amp;gt; [[media:cansas1d-v1-7-SASdetector.png]]&lt;br /&gt;
|| [[Image:cansas1d-v1-8-SASprocess.png|100x100px]]  &amp;lt;br /&amp;gt; [[media:cansas1d-v1-8-SASprocess.png]]&lt;br /&gt;
|| [[Image:cansas1d-v1-9-full.png|100x100px]]  &amp;lt;br /&amp;gt; [[media:cansas1d-v1-9-full.png]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_SASentry&amp;diff=319</id>
		<title>cansas1d SASentry</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_SASentry&amp;diff=319"/>
		<updated>2008-04-14T22:51:39Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;this page (and below) under construction&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Name&lt;br /&gt;
! {{Headcellstyle}} | Type&lt;br /&gt;
! {{Headcellstyle}} | occurrence&lt;br /&gt;
! {{Headcellstyle}} | Description&lt;br /&gt;
! {{Headcellstyle}} | Attributes&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;Title&#039;&#039;&#039;&lt;br /&gt;
|| string&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| Title of this &#039;&#039;&#039;SASentry&#039;&#039;&#039;.&lt;br /&gt;
|| &lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;Run&#039;&#039;&#039;&lt;br /&gt;
|| string&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..unbounded]&lt;br /&gt;
|| Run identification for this &#039;&#039;&#039;SASentry&#039;&#039;&#039;. &lt;br /&gt;
For many facilities, this is an integer. Use multiple instances of &#039;&#039;&#039;Run&#039;&#039;&#039; as needed. &lt;br /&gt;
&lt;br /&gt;
Note: How to correlate this with &#039;&#039;&#039;SASdata&#039;&#039;&#039; and &#039;&#039;&#039;SASinstrument&#039;&#039;&#039; configurations has not yet been defined.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;name&#039;&#039;&#039; is an optional string attribute to identify this particular &#039;&#039;&#039;Run&#039;&#039;&#039;.  Could use this to associate (correlate) multiple &#039;&#039;&#039;SASdata&#039;&#039;&#039; elements with &#039;&#039;&#039;Run&#039;&#039;&#039; elements. (Give them the same &#039;&#039;short-Run-identifier&#039;&#039;.)&lt;br /&gt;
|| name=&amp;quot;{short-Run-identifier}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_any | &#039;&#039;{any}&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..unbounded]&lt;br /&gt;
|| description&lt;br /&gt;
|| attributes&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASdata | &#039;&#039;&#039;SASdata&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..unbounded]&lt;br /&gt;
|| description&lt;br /&gt;
|| name=&amp;quot;{short-Run-identifier}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_any | &#039;&#039;{any}&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..unbounded]&lt;br /&gt;
|| description&lt;br /&gt;
|| attributes&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASsample | &#039;&#039;&#039;SASsample&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| description&lt;br /&gt;
|| attributes&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASinstrument | &#039;&#039;&#039;SASinstrument&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| description&lt;br /&gt;
|| attributes&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASprocess | &#039;&#039;&#039;SASprocess&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..unbounded]&lt;br /&gt;
|| description&lt;br /&gt;
|| attributes&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASnote | &#039;&#039;&#039;SASnote&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..unbounded]&lt;br /&gt;
|| description&lt;br /&gt;
|| attributes&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:cansas1d-v1-1-SASroot.png|block diagram at SASroot level]]&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_XML_header&amp;diff=318</id>
		<title>cansas1d XML header</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_XML_header&amp;diff=318"/>
		<updated>2008-04-14T22:51:14Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Name&lt;br /&gt;
! {{Headcellstyle}} | Type&lt;br /&gt;
! {{Headcellstyle}} | occurrence&lt;br /&gt;
! {{Headcellstyle}} | Description&lt;br /&gt;
! {{Headcellstyle}} | Attributes&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|| &#039;&#039;xml declaration&#039;&#039;&lt;br /&gt;
|| header&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| &amp;lt;pre&amp;gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&amp;lt;/pre&amp;gt;Required first line of every well-formed XML file.  &#039;&#039;&#039;version=&amp;quot;1.0&amp;quot;&#039;&#039;&#039; refers to version 1.0 of the XML standard.&lt;br /&gt;
|| version=&amp;quot;1.0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;stylesheet&#039;&#039;&lt;br /&gt;
|| header&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| &amp;lt;pre&amp;gt;&amp;lt;?xml-stylesheet type=&amp;quot;text/xsl&amp;quot; href=&amp;quot;example.xsl&amp;quot; ?&amp;gt;&amp;lt;/pre&amp;gt;Declares that &#039;&#039;example.xsl&#039;&#039; (needs to be in the local directory) will be the default stylesheet to an XML visualization tool.  Change &#039;&#039;example.xsl&#039;&#039; to indicate a different stylesheet in the local directory.  Refer to [http://www.w3schools.com/xsl W3 Schools XSLT Help] for assistance in constructing XSLT files.&lt;br /&gt;
&lt;br /&gt;
XML rules actually allow for multiple stylesheet declarations.  Explore this possibility as your own adventure.&lt;br /&gt;
|| type=&amp;quot;text/xsl&amp;quot;&amp;lt;br /&amp;gt;href=&amp;quot;example.xsl&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASroot | &#039;&#039;&#039;SASroot&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| The canSAS reduced 1-D SAS data (cansas1d/1.0) will be in the &#039;&#039;&#039;SASroot&#039;&#039;&#039; database. &lt;br /&gt;
(This is similar to NXroot used by NeXus.)&lt;br /&gt;
* &#039;&#039;&#039;version=&amp;quot;1.0&amp;quot;&#039;&#039;&#039; is required to identify the cansas1d/1.0 standard for SAS data.&lt;br /&gt;
* &#039;&#039;&#039;xmlns&#039;&#039;&#039; sets the default namespace for all elements (with no prefix) in this file.&lt;br /&gt;
* &#039;&#039;&#039;xmlns:xsi&#039;&#039;&#039; sets &#039;&#039;&#039;xsi&#039;&#039;&#039; as the prefix for any elements from the governing XML Schema.&lt;br /&gt;
* &#039;&#039;&#039;xsi:schemaLocation&#039;&#039;&#039;  associates a suggested URL (where the cansas1d/1.0 XML Schema might be found) with the default namespace string.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;SASroot version=&amp;quot;1.0&amp;quot;&lt;br /&gt;
    xmlns=&amp;quot;cansas1d/1.0&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&lt;br /&gt;
    xsi:schemaLocation=&amp;quot;cansas1d/1.0 http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd&amp;quot;&lt;br /&gt;
    &amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|| version=&amp;quot;1.0&amp;quot;&amp;lt;br /&amp;gt;xmlns=&amp;quot;{this-namespace-URI}&amp;quot;&amp;lt;br /&amp;gt;xmlns:xsi=&amp;quot;{URL-of-governing-XML-Schema}&amp;quot;&amp;lt;br /&amp;gt;xsi:schemaLocation=&amp;quot;{this-namespace-URI} {URL-to-find-XML-Schema}&amp;quot;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:cansas1d-v1-1-SASroot.png|block diagram at SASroot level]]&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_SASroot&amp;diff=317</id>
		<title>cansas1d SASroot</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_SASroot&amp;diff=317"/>
		<updated>2008-04-14T22:50:48Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Name&lt;br /&gt;
! {{Headcellstyle}} | Type&lt;br /&gt;
! {{Headcellstyle}} | occurrence&lt;br /&gt;
! {{Headcellstyle}} | Description&lt;br /&gt;
! {{Headcellstyle}} | Attributes&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASentry | &#039;&#039;&#039;SASentry&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..unbounded]&lt;br /&gt;
|| A single SAS scan is reported in a &#039;&#039;&#039;SASentry&#039;&#039;&#039;.  Include as many &#039;&#039;&#039;SASentry&#039;&#039;&#039; elements as desired.  They may contain related or unrelated data.&lt;br /&gt;
&#039;&#039;&#039;name&#039;&#039;&#039; is an optional attribute to provide a string for this SASentry. (Use of this string is not defined by this standard.)&lt;br /&gt;
|| name=&amp;quot;short-name&amp;quot;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Image:cansas1d-v1-1-SASroot.png|block diagram at SASroot level]]&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_SASroot&amp;diff=316</id>
		<title>cansas1d SASroot</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_SASroot&amp;diff=316"/>
		<updated>2008-04-14T22:49:48Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:cansas1d-v1-1-SASroot.png|thumb|block diagram at SASroot level]]&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Name&lt;br /&gt;
! {{Headcellstyle}} | Type&lt;br /&gt;
! {{Headcellstyle}} | occurrence&lt;br /&gt;
! {{Headcellstyle}} | Description&lt;br /&gt;
! {{Headcellstyle}} | Attributes&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASentry | &#039;&#039;&#039;SASentry&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..unbounded]&lt;br /&gt;
|| A single SAS scan is reported in a &#039;&#039;&#039;SASentry&#039;&#039;&#039;.  Include as many &#039;&#039;&#039;SASentry&#039;&#039;&#039; elements as desired.  They may contain related or unrelated data.&lt;br /&gt;
&#039;&#039;&#039;name&#039;&#039;&#039; is an optional attribute to provide a string for this SASentry. (Use of this string is not defined by this standard.)&lt;br /&gt;
|| name=&amp;quot;short-name&amp;quot;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_SASentry&amp;diff=315</id>
		<title>cansas1d SASentry</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_SASentry&amp;diff=315"/>
		<updated>2008-04-14T22:48:15Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;this page (and below) under construction&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Name&lt;br /&gt;
! {{Headcellstyle}} | Type&lt;br /&gt;
! {{Headcellstyle}} | occurrence&lt;br /&gt;
! {{Headcellstyle}} | Description&lt;br /&gt;
! {{Headcellstyle}} | Attributes&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;Title&#039;&#039;&#039;&lt;br /&gt;
|| string&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| Title of this &#039;&#039;&#039;SASentry&#039;&#039;&#039;.&lt;br /&gt;
|| &lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;Run&#039;&#039;&#039;&lt;br /&gt;
|| string&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..unbounded]&lt;br /&gt;
|| Run identification for this &#039;&#039;&#039;SASentry&#039;&#039;&#039;. &lt;br /&gt;
For many facilities, this is an integer. Use multiple instances of &#039;&#039;&#039;Run&#039;&#039;&#039; as needed. &lt;br /&gt;
&lt;br /&gt;
Note: How to correlate this with &#039;&#039;&#039;SASdata&#039;&#039;&#039; and &#039;&#039;&#039;SASinstrument&#039;&#039;&#039; configurations has not yet been defined.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;name&#039;&#039;&#039; is an optional string attribute to identify this particular &#039;&#039;&#039;Run&#039;&#039;&#039;.  Could use this to associate (correlate) multiple &#039;&#039;&#039;SASdata&#039;&#039;&#039; elements with &#039;&#039;&#039;Run&#039;&#039;&#039; elements. (Give them the same &#039;&#039;short-Run-identifier&#039;&#039;.)&lt;br /&gt;
|| name=&amp;quot;{short-Run-identifier}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_any | &#039;&#039;{any}&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..unbounded]&lt;br /&gt;
|| description&lt;br /&gt;
|| attributes&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASdata | &#039;&#039;&#039;SASdata&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..unbounded]&lt;br /&gt;
|| description&lt;br /&gt;
|| name=&amp;quot;{short-Run-identifier}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_any | &#039;&#039;{any}&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..unbounded]&lt;br /&gt;
|| description&lt;br /&gt;
|| attributes&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASsample | &#039;&#039;&#039;SASsample&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| description&lt;br /&gt;
|| attributes&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASinstrument | &#039;&#039;&#039;SASinstrument&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| description&lt;br /&gt;
|| attributes&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASprocess | &#039;&#039;&#039;SASprocess&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..unbounded]&lt;br /&gt;
|| description&lt;br /&gt;
|| attributes&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASnote | &#039;&#039;&#039;SASnote&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..unbounded]&lt;br /&gt;
|| description&lt;br /&gt;
|| attributes&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_SASroot&amp;diff=314</id>
		<title>cansas1d SASroot</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_SASroot&amp;diff=314"/>
		<updated>2008-04-14T22:47:10Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Name&lt;br /&gt;
! {{Headcellstyle}} | Type&lt;br /&gt;
! {{Headcellstyle}} | occurrence&lt;br /&gt;
! {{Headcellstyle}} | Description&lt;br /&gt;
! {{Headcellstyle}} | Attributes&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASentry | &#039;&#039;&#039;SASentry&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..unbounded]&lt;br /&gt;
|| A single SAS scan is reported in a &#039;&#039;&#039;SASentry&#039;&#039;&#039;.  Include as many &#039;&#039;&#039;SASentry&#039;&#039;&#039; elements as desired.  They may contain related or unrelated data.&lt;br /&gt;
&#039;&#039;&#039;name&#039;&#039;&#039; is an optional attribute to provide a string for this SASentry. (Use of this string is not defined by this standard.)&lt;br /&gt;
|| name=&amp;quot;short-name&amp;quot;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_XML_header&amp;diff=313</id>
		<title>cansas1d XML header</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_XML_header&amp;diff=313"/>
		<updated>2008-04-14T22:46:58Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Name&lt;br /&gt;
! {{Headcellstyle}} | Type&lt;br /&gt;
! {{Headcellstyle}} | occurrence&lt;br /&gt;
! {{Headcellstyle}} | Description&lt;br /&gt;
! {{Headcellstyle}} | Attributes&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|| &#039;&#039;xml declaration&#039;&#039;&lt;br /&gt;
|| header&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| &amp;lt;pre&amp;gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&amp;lt;/pre&amp;gt;Required first line of every well-formed XML file.  &#039;&#039;&#039;version=&amp;quot;1.0&amp;quot;&#039;&#039;&#039; refers to version 1.0 of the XML standard.&lt;br /&gt;
|| version=&amp;quot;1.0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;stylesheet&#039;&#039;&lt;br /&gt;
|| header&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| &amp;lt;pre&amp;gt;&amp;lt;?xml-stylesheet type=&amp;quot;text/xsl&amp;quot; href=&amp;quot;example.xsl&amp;quot; ?&amp;gt;&amp;lt;/pre&amp;gt;Declares that &#039;&#039;example.xsl&#039;&#039; (needs to be in the local directory) will be the default stylesheet to an XML visualization tool.  Change &#039;&#039;example.xsl&#039;&#039; to indicate a different stylesheet in the local directory.  Refer to [http://www.w3schools.com/xsl W3 Schools XSLT Help] for assistance in constructing XSLT files.&lt;br /&gt;
&lt;br /&gt;
XML rules actually allow for multiple stylesheet declarations.  Explore this possibility as your own adventure.&lt;br /&gt;
|| type=&amp;quot;text/xsl&amp;quot;&amp;lt;br /&amp;gt;href=&amp;quot;example.xsl&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASroot | &#039;&#039;&#039;SASroot&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| The canSAS reduced 1-D SAS data (cansas1d/1.0) will be in the &#039;&#039;&#039;SASroot&#039;&#039;&#039; database. &lt;br /&gt;
(This is similar to NXroot used by NeXus.)&lt;br /&gt;
* &#039;&#039;&#039;version=&amp;quot;1.0&amp;quot;&#039;&#039;&#039; is required to identify the cansas1d/1.0 standard for SAS data.&lt;br /&gt;
* &#039;&#039;&#039;xmlns&#039;&#039;&#039; sets the default namespace for all elements (with no prefix) in this file.&lt;br /&gt;
* &#039;&#039;&#039;xmlns:xsi&#039;&#039;&#039; sets &#039;&#039;&#039;xsi&#039;&#039;&#039; as the prefix for any elements from the governing XML Schema.&lt;br /&gt;
* &#039;&#039;&#039;xsi:schemaLocation&#039;&#039;&#039;  associates a suggested URL (where the cansas1d/1.0 XML Schema might be found) with the default namespace string.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;SASroot version=&amp;quot;1.0&amp;quot;&lt;br /&gt;
    xmlns=&amp;quot;cansas1d/1.0&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&lt;br /&gt;
    xsi:schemaLocation=&amp;quot;cansas1d/1.0 http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd&amp;quot;&lt;br /&gt;
    &amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|| version=&amp;quot;1.0&amp;quot;&amp;lt;br /&amp;gt;xmlns=&amp;quot;{this-namespace-URI}&amp;quot;&amp;lt;br /&amp;gt;xmlns:xsi=&amp;quot;{URL-of-governing-XML-Schema}&amp;quot;&amp;lt;br /&amp;gt;xsi:schemaLocation=&amp;quot;{this-namespace-URI} {URL-to-find-XML-Schema}&amp;quot;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_documentation&amp;diff=312</id>
		<title>cansas1d documentation</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_documentation&amp;diff=312"/>
		<updated>2008-04-14T22:42:20Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: /* overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Disclaimer =&lt;br /&gt;
&lt;br /&gt;
This description is meant to inform the community how to layout&lt;br /&gt;
the information within the XML files.  However, should the&lt;br /&gt;
information in this document and the [[cansas1d.xsd | canSAS 1D SAS XML Schema]]&lt;br /&gt;
differ, the XML Schema will be deemed to have the most correct description&lt;br /&gt;
of the standard.&lt;br /&gt;
&lt;br /&gt;
= General Layout of the XML Data =&lt;br /&gt;
&lt;br /&gt;
== overview ==&lt;br /&gt;
&lt;br /&gt;
[[Image:cansas1d-v1-1-SASroot.png|thumb|block diagram at SASroot level]]&lt;br /&gt;
&lt;br /&gt;
After an XML header, the root element of the file is SASroot which &lt;br /&gt;
contains one or more SASentry elements, each of which describes&lt;br /&gt;
a single experiment (data set, time-slice, step in a series, new &lt;br /&gt;
sample, etc.).  Details of the SASentry element are also&lt;br /&gt;
shown in the next figure.  Refer to the &#039;&#039;&#039;block diagram at SASroot level&#039;&#039;&#039;&lt;br /&gt;
for an alternative depiction.  See [[cansas1d.xml]] for an example XML file.&lt;br /&gt;
Examples, Case Studies, and  other background information are below.  More discussion can be found on the [[1D_Data_Formats_Working_Group|canSAS 1D Data Formats Working Group]] page and its [[Talk:1D_Data_Formats_Working_Group|discussion]] page.  Details about &lt;br /&gt;
each specific field (XPath string, XML elements and attributes) are described &lt;br /&gt;
on the [[cansas1d_definition_of_terms]] page.&lt;br /&gt;
&lt;br /&gt;
=== descriptions ===&lt;br /&gt;
* [[cansas1d_XML_header | XML header]]&lt;br /&gt;
** [[cansas1d_SASroot | SASroot]]&lt;br /&gt;
*** [[cansas1d_SASentry | SASentry]]&lt;br /&gt;
* [[cansas1d_definition_of_terms | Definition of Terms List]]&lt;br /&gt;
&lt;br /&gt;
=== block diagrams ===&lt;br /&gt;
There are block diagrams available to describe the standard:&lt;br /&gt;
*[[media:cansas1d-v1-1-SASroot.png | SASroot]]&lt;br /&gt;
** SASentry (data set, time-slice, step in a series, new sample, etc.)&lt;br /&gt;
***Title (for this particular SASentry)&lt;br /&gt;
***Run (run number or ID number of experiment)&lt;br /&gt;
***[[media:cansas1d-v1-2-SASdata.png | SASdata]] (this is where the reduced 1-D SAS data is stored)&lt;br /&gt;
***[[media:cansas1d-v1-3-SASsample.png | SASsample]]&lt;br /&gt;
***[[media:cansas1d-v1-4-SASinstrument.png | SASinstrument]]&lt;br /&gt;
****[[media:cansas1d-v1-5-SASsource.png | SASsource]]&lt;br /&gt;
****[[media:cansas1d-v1-6-SAScollimation.png | SAScollimation]]&lt;br /&gt;
****[[media:cansas1d-v1-7-SASdetector.png | SASdetector]]&lt;br /&gt;
***[[media:cansas1d-v1-8-SASprocess.png | SASprocess]] (for each processing or analysis step)&lt;br /&gt;
*** SASnote (anything at all)&lt;br /&gt;
* [[media:cansas1d-v1-9-full.png | full block diagram]]&lt;br /&gt;
&lt;br /&gt;
=== required XML file header ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;?xml-stylesheet type=&amp;quot;text/xsl&amp;quot; href=&amp;quot;example.xsl&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;SASroot version=&amp;quot;1.0&amp;quot;&lt;br /&gt;
    xmlns=&amp;quot;cansas1d/1.0&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&lt;br /&gt;
    xsi:schemaLocation=&amp;quot;cansas1d/1.0 http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd&amp;quot;&lt;br /&gt;
    &amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Rules ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Q-geometry.jpg|thumb|definition of Q geometry for small-angle scattering]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Translation-orientation-geometry-2.jpg|thumb|definition of translation and orientation geometry]]&lt;br /&gt;
&lt;br /&gt;
# canSAS1d/1.0 XML data files will adhere to the standard if they can successfully [[cansas1d_documentation#Validation_of_XML_against_the_Schema | validate]] against the established XML Schema ([http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd])&lt;br /&gt;
# Q=(4 &amp;amp;pi; / &amp;amp;lambda;) sin(&amp;amp;theta;) &amp;lt;br&amp;gt; where &amp;amp;lambda; is the wavelength of the radiation and 2&amp;amp;theta; is the angle through which the detected radiation has been scattered.&lt;br /&gt;
# units to be given in standard SI abbreviations (eg, m, cm, mm, nm, K) with the following exceptions: &lt;br /&gt;
##um=micrometres&lt;br /&gt;
##C=celsius&lt;br /&gt;
##A=Angstroms&lt;br /&gt;
##percent=%.&lt;br /&gt;
##fraction&lt;br /&gt;
##a.u.=arbitrary units&lt;br /&gt;
##none=no units are relevant (such as dimensionless)&lt;br /&gt;
# where reciprocal units need to be quoted the format shall be &amp;quot;1/abbreviation&amp;quot;&lt;br /&gt;
# axes:&lt;br /&gt;
##z is along the flight path (positive value in the direction of the detector)&lt;br /&gt;
##x is orthogonal to z in the horizontal plane (positive values increase to the right when viewed towards the incoming radiation)&lt;br /&gt;
##y is orthogonal to z and x in the vertical plane (positive values increase upwards)&lt;br /&gt;
#orientation (angles): &lt;br /&gt;
##roll is about z&lt;br /&gt;
##pitch is about x&lt;br /&gt;
##yaw is about y&lt;br /&gt;
# Unicode characters MUST NOT be used&lt;br /&gt;
# Binary data is not supported&lt;br /&gt;
&lt;br /&gt;
=== Compatibility of Geometry Definitions ===&lt;br /&gt;
&lt;br /&gt;
Note:  translation and orientation geometry used by canSAS are consistent with:&lt;br /&gt;
#http://en.wikipedia.org/wiki/Cartesian_coordinate_system&lt;br /&gt;
#http://en.wikipedia.org/wiki/Right-hand_rule&lt;br /&gt;
#http://www.nexusformat.org/Coordinate_Systems&lt;br /&gt;
#http://mcstas.risoe.dk/documentation/tutorial/node6.html&lt;br /&gt;
#http://webhost5.nts.jhu.edu/reza/book/kinematics/kinematics.htm&lt;br /&gt;
&lt;br /&gt;
The translation and orientation geometry definitions used &lt;br /&gt;
here are different than those used by&lt;br /&gt;
&#039;&#039;&#039;SHADOW&#039;&#039;&#039; ([http://www.nanotech.wisc.edu/shadow/ http://www.nanotech.wisc.edu/shadow/]) &lt;br /&gt;
where the &#039;&#039;y&#039;&#039; and &#039;&#039;z&#039;&#039; axes are swapped &lt;br /&gt;
and the direction of &#039;&#039;x&#039;&#039; is changed.&lt;br /&gt;
&lt;br /&gt;
== XML layout for multiple experiments ==&lt;br /&gt;
&lt;br /&gt;
Each experiment is described with a single &#039;&#039;&#039;SASentry&#039;&#039;&#039; element.&lt;br /&gt;
The brief example below shows how multiple experiments can be included &lt;br /&gt;
in a single XML file.  (For the sake of brevity, the data for each experiment&lt;br /&gt;
has been omitted from the example below.)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;?xml-stylesheet type=&amp;quot;text/xsl&amp;quot; href=&amp;quot;example.xsl&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;SASroot version=&amp;quot;1.0&amp;quot;&lt;br /&gt;
    xmlns=&amp;quot;cansas1d/1.0&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&lt;br /&gt;
    xsi:schemaLocation=&amp;quot;cansas1d/1.0 http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd&amp;quot;&lt;br /&gt;
    &amp;gt;&lt;br /&gt;
  &amp;lt;SASentry name=&amp;quot;071121.dat#S22&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;!-- contents of the first experiment in the file go here --&amp;gt;&lt;br /&gt;
  &amp;lt;/SASentry&amp;gt;&lt;br /&gt;
  &amp;lt;SASentry name=&amp;quot;example temperature series&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;!-- example with two SAS data sets related to the same sample --&amp;gt;&lt;br /&gt;
    &amp;lt;Title&amp;gt;title of this series&amp;lt;/Title&amp;gt;&lt;br /&gt;
    &amp;lt;Run name=&amp;quot;run1&amp;quot;&amp;gt;42-001&amp;lt;/Run&amp;gt;&lt;br /&gt;
    &amp;lt;Run name=&amp;quot;run2&amp;quot;&amp;gt;42-002&amp;lt;/Run&amp;gt;&lt;br /&gt;
    &amp;lt;SASdata name=&amp;quot;run1&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;!-- data from 42-001 run comes here --&amp;gt;&lt;br /&gt;
    &amp;lt;/SASdata&amp;gt;&lt;br /&gt;
    &amp;lt;SASdata name=&amp;quot;run2&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;!-- data from 42-002 run comes here --&amp;gt;&lt;br /&gt;
    &amp;lt;/SASdata&amp;gt;&lt;br /&gt;
    &amp;lt;!-- other elements come here for this entry --&amp;gt;&lt;br /&gt;
  &amp;lt;/SASentry&amp;gt;&lt;br /&gt;
  &amp;lt;SASentry name=&amp;quot;other sample&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;!-- any number of additional experiments can be included, as desired --&amp;gt;&lt;br /&gt;
    &amp;lt;!-- SASentry elements in the same XML file do not have to be related --&amp;gt;&lt;br /&gt;
  &amp;lt;/SASentry&amp;gt;&lt;br /&gt;
&amp;lt;/SASroot&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Documentation and Definitions =&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Documentation&#039;&#039;&#039;: [[cansas1d_documentation]]  (this page)&lt;br /&gt;
* &#039;&#039;&#039;Definitions&#039;&#039;&#039;:   [[cansas1d_definition_of_terms]]&lt;br /&gt;
* &#039;&#039;&#039;Block diagrams&#039;&#039;&#039;: [[cansas1d_documentation#block_diagrams]]&lt;br /&gt;
&lt;br /&gt;
== XML Schema ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;XML Schema&#039;&#039;&#039;: defines the rules for the XML file format ([http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk/cansas1d.xsd TRAC], [http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd SVN])&lt;br /&gt;
* [[xsd-documentation.xsl | XSL stylesheet]] (used to extract information shown on the [[cansas1d_definition_of_terms | Schema documentation page]])&lt;br /&gt;
&lt;br /&gt;
== XML Stylesheets ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;example.xsl&#039;&#039;&#039;: XSLT stylesheets can be used to extract metadata or to convert into another file format.  The default canSAS stylesheet [[http://svn.smallangles.net/svn/canSAS/1dwg/trunk/example.xsl | example.xsl]] should be copied into the each folder with canSAS XML data file(s).   It can be used to display the data in a supporting WWW browser (such as Firefox or Internet Explorer) or to import into Microsoft Excel (with the added XML support in Excel).   By default, MS Windows binds &#039;&#039;&#039;*.xml&#039;&#039;&#039; files to start Internet Explorer.  Double-clicking on a canSAS XML data file with the &#039;&#039;&#039;example.xsl&#039;&#039;&#039; stylesheet in the same directory will produce a WWW page with the SAS data and selected metadata.&lt;br /&gt;
&lt;br /&gt;
== Foreign Elements ==&lt;br /&gt;
&lt;br /&gt;
== Examples and Case Studies ==&lt;br /&gt;
&lt;br /&gt;
* [[cansas1d.xml | basic example]]: Note that, for clarity, only one row of data is shown.  This is probably a very good example to use as a starting point for creating XML files with a text editor.&lt;br /&gt;
* [[bimodal-test1.xml]]: Simulated SAS data to test size distribution calculation routines.&lt;br /&gt;
* [[cansas1d_casestudy_collagen | dry chick collagen]]: illustrates the minimum information necessary to meet the requirements of the standard format&lt;br /&gt;
* [[cansas1d_casestudy_af1410 | AF1410 steel]]: SANS study using magnetic contrast variation (with multiple samples and multiple data sets for each sample), the files can be viewed from TRAC (no description yet):  [http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk/examples/af1410/ http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk/examples/af1410/]&lt;br /&gt;
* [[cansas1d-template.xml]]: This is used to test all the rules in the XML Schema.  This is probably not a very good example to use as a starting point for creating XML files with a text editor since it tests many of the special-case rules.&lt;br /&gt;
&lt;br /&gt;
== Support tools for Visualization &amp;amp; Analysis software ==&lt;br /&gt;
&lt;br /&gt;
=== IgorPro ===&lt;br /&gt;
&lt;br /&gt;
An import/export tool for [http://www.wavemetrics.com/ IgorPro] has been created&lt;br /&gt;
([http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk/IgorPro/cansasXML.ipf cansasXML.ipf]).&lt;br /&gt;
You can check out the &amp;lt;nowiki&amp;gt;IgorPro&amp;lt;/nowiki&amp;gt; working directory from the SVN server (see below).&lt;br /&gt;
&lt;br /&gt;
As of 2008-03-14, &lt;br /&gt;
* test suite of XML files developed&lt;br /&gt;
* the support can import the XML files into IgorPro&lt;br /&gt;
* Development of a GUI (to support the [http://usaxs.xor.aps.anl.gov/staff/ilavsky/irena.html Irena] package) has begun&lt;br /&gt;
* Development to add export capabilities (from IgorPro) back to the cansas1d/1.0 format has begun&lt;br /&gt;
&lt;br /&gt;
== Software repositories ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;TRAC&#039;&#039;&#039;:       [http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk]&lt;br /&gt;
* &#039;&#039;&#039;Subversion&#039;&#039;&#039;: [http://svn.smallangles.net/svn/canSAS/1dwg http://svn.smallangles.net/svn/canSAS/1dwg]  &amp;lt;br /&amp;gt;(&amp;lt;nowiki&amp;gt;svn checkout http://svn.smallangles.net/svn/canSAS/1dwg/trunk/ cansas-1dwg&amp;lt;/nowiki&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Validation of XML against the Schema =&lt;br /&gt;
# open browser to:   http://www.xmlvalidation.com/&lt;br /&gt;
# paste content of candidate XML file (with reference in the header to the XML Schema as shown above) into the form&lt;br /&gt;
# press &amp;lt;validate&amp;gt;&lt;br /&gt;
# paste content of [[cansas1d.xsd]] XSD file into form and press &amp;lt;continue validation&amp;gt;&lt;br /&gt;
# check the results&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_SASentry&amp;diff=311</id>
		<title>cansas1d SASentry</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_SASentry&amp;diff=311"/>
		<updated>2008-04-14T22:38:11Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: incomplete definition&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= SASentry =&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Name&lt;br /&gt;
! {{Headcellstyle}} | Type&lt;br /&gt;
! {{Headcellstyle}} | occurrence&lt;br /&gt;
! {{Headcellstyle}} | Description&lt;br /&gt;
! {{Headcellstyle}} | Attributes&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;Title&#039;&#039;&#039;&lt;br /&gt;
|| string&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| Title of this &#039;&#039;&#039;SASentry&#039;&#039;&#039;.&lt;br /&gt;
|| &lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;&#039;Run&#039;&#039;&#039;&lt;br /&gt;
|| string&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..unbounded]&lt;br /&gt;
|| Run identification for this &#039;&#039;&#039;SASentry&#039;&#039;&#039;. &lt;br /&gt;
For many facilities, this is an integer. Use multiple instances of &#039;&#039;&#039;Run&#039;&#039;&#039; as needed. &lt;br /&gt;
&lt;br /&gt;
Note: How to correlate this with &#039;&#039;&#039;SASdata&#039;&#039;&#039; and &#039;&#039;&#039;SASinstrument&#039;&#039;&#039; configurations has not yet been defined.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;name&#039;&#039;&#039; is an optional string attribute to identify this particular &#039;&#039;&#039;Run&#039;&#039;&#039;.  Could use this to associate (correlate) multiple &#039;&#039;&#039;SASdata&#039;&#039;&#039; elements with &#039;&#039;&#039;Run&#039;&#039;&#039; elements. (Give them the same &#039;&#039;short-Run-identifier&#039;&#039;.)&lt;br /&gt;
|| name=&amp;quot;{short-Run-identifier}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_any | &#039;&#039;{any}&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..unbounded]&lt;br /&gt;
|| description&lt;br /&gt;
|| attributes&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASdata | &#039;&#039;&#039;SASdata&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..unbounded]&lt;br /&gt;
|| description&lt;br /&gt;
|| name=&amp;quot;{short-Run-identifier}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_any | &#039;&#039;{any}&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..unbounded]&lt;br /&gt;
|| description&lt;br /&gt;
|| attributes&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASsample | &#039;&#039;&#039;SASsample&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| description&lt;br /&gt;
|| attributes&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASinstrument | &#039;&#039;&#039;SASinstrument&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| description&lt;br /&gt;
|| attributes&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASprocess | &#039;&#039;&#039;SASprocess&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..unbounded]&lt;br /&gt;
|| description&lt;br /&gt;
|| attributes&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASnote | &#039;&#039;&#039;SASnote&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..unbounded]&lt;br /&gt;
|| description&lt;br /&gt;
|| attributes&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_SASroot&amp;diff=310</id>
		<title>cansas1d SASroot</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_SASroot&amp;diff=310"/>
		<updated>2008-04-14T22:25:14Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= SASroot =&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Name&lt;br /&gt;
! {{Headcellstyle}} | Type&lt;br /&gt;
! {{Headcellstyle}} | occurrence&lt;br /&gt;
! {{Headcellstyle}} | Description&lt;br /&gt;
! {{Headcellstyle}} | Attributes&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASentry | &#039;&#039;&#039;SASentry&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..unbounded]&lt;br /&gt;
|| A single SAS scan is reported in a &#039;&#039;&#039;SASentry&#039;&#039;&#039;.  Include as many &#039;&#039;&#039;SASentry&#039;&#039;&#039; elements as desired.  They may contain related or unrelated data.&lt;br /&gt;
&#039;&#039;&#039;name&#039;&#039;&#039; is an optional attribute to provide a string for this SASentry. (Use of this string is not defined by this standard.)&lt;br /&gt;
|| name=&amp;quot;short-name&amp;quot;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_XML_header&amp;diff=309</id>
		<title>cansas1d XML header</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_XML_header&amp;diff=309"/>
		<updated>2008-04-14T22:24:50Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= cansas1d/1.0 file header =&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Name&lt;br /&gt;
! {{Headcellstyle}} | Type&lt;br /&gt;
! {{Headcellstyle}} | occurrence&lt;br /&gt;
! {{Headcellstyle}} | Description&lt;br /&gt;
! {{Headcellstyle}} | Attributes&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|| &#039;&#039;xml declaration&#039;&#039;&lt;br /&gt;
|| header&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| &amp;lt;pre&amp;gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&amp;lt;/pre&amp;gt;Required first line of every well-formed XML file.  &#039;&#039;&#039;version=&amp;quot;1.0&amp;quot;&#039;&#039;&#039; refers to version 1.0 of the XML standard.&lt;br /&gt;
|| version=&amp;quot;1.0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;stylesheet&#039;&#039;&lt;br /&gt;
|| header&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| &amp;lt;pre&amp;gt;&amp;lt;?xml-stylesheet type=&amp;quot;text/xsl&amp;quot; href=&amp;quot;example.xsl&amp;quot; ?&amp;gt;&amp;lt;/pre&amp;gt;Declares that &#039;&#039;example.xsl&#039;&#039; (needs to be in the local directory) will be the default stylesheet to an XML visualization tool.  Change &#039;&#039;example.xsl&#039;&#039; to indicate a different stylesheet in the local directory.  Refer to [http://www.w3schools.com/xsl W3 Schools XSLT Help] for assistance in constructing XSLT files.&lt;br /&gt;
&lt;br /&gt;
XML rules actually allow for multiple stylesheet declarations.  Explore this possibility as your own adventure.&lt;br /&gt;
|| type=&amp;quot;text/xsl&amp;quot;&amp;lt;br /&amp;gt;href=&amp;quot;example.xsl&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASroot | &#039;&#039;&#039;SASroot&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| The canSAS reduced 1-D SAS data (cansas1d/1.0) will be in the &#039;&#039;&#039;SASroot&#039;&#039;&#039; database. &lt;br /&gt;
(This is similar to NXroot used by NeXus.)&lt;br /&gt;
* &#039;&#039;&#039;version=&amp;quot;1.0&amp;quot;&#039;&#039;&#039; is required to identify the cansas1d/1.0 standard for SAS data.&lt;br /&gt;
* &#039;&#039;&#039;xmlns&#039;&#039;&#039; sets the default namespace for all elements (with no prefix) in this file.&lt;br /&gt;
* &#039;&#039;&#039;xmlns:xsi&#039;&#039;&#039; sets &#039;&#039;&#039;xsi&#039;&#039;&#039; as the prefix for any elements from the governing XML Schema.&lt;br /&gt;
* &#039;&#039;&#039;xsi:schemaLocation&#039;&#039;&#039;  associates a suggested URL (where the cansas1d/1.0 XML Schema might be found) with the default namespace string.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;SASroot version=&amp;quot;1.0&amp;quot;&lt;br /&gt;
    xmlns=&amp;quot;cansas1d/1.0&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&lt;br /&gt;
    xsi:schemaLocation=&amp;quot;cansas1d/1.0 http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd&amp;quot;&lt;br /&gt;
    &amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|| version=&amp;quot;1.0&amp;quot;&amp;lt;br /&amp;gt;xmlns=&amp;quot;{this-namespace-URI}&amp;quot;&amp;lt;br /&amp;gt;xmlns:xsi=&amp;quot;{URL-of-governing-XML-Schema}&amp;quot;&amp;lt;br /&amp;gt;xsi:schemaLocation=&amp;quot;{this-namespace-URI} {URL-to-find-XML-Schema}&amp;quot;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_SASroot&amp;diff=308</id>
		<title>cansas1d SASroot</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_SASroot&amp;diff=308"/>
		<updated>2008-04-14T22:23:10Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: initial definition&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Name&lt;br /&gt;
! {{Headcellstyle}} | Type&lt;br /&gt;
! {{Headcellstyle}} | occurrence&lt;br /&gt;
! {{Headcellstyle}} | Description&lt;br /&gt;
! {{Headcellstyle}} | Attributes&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASentry | &#039;&#039;&#039;SASentry&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..unbounded]&lt;br /&gt;
|| A single SAS scan is reported in a &#039;&#039;&#039;SASentry&#039;&#039;&#039;.  Include as many &#039;&#039;&#039;SASentry&#039;&#039;&#039; elements as desired.  They may contain related or unrelated data.&lt;br /&gt;
&#039;&#039;&#039;name&#039;&#039;&#039; is an optional attribute to provide a string for this SASentry. (Use of this string is not defined by this standard.)&lt;br /&gt;
|| name=&amp;quot;short-name&amp;quot;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_XML_header&amp;diff=307</id>
		<title>cansas1d XML header</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_XML_header&amp;diff=307"/>
		<updated>2008-04-14T22:07:10Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: initial definition&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Name&lt;br /&gt;
! {{Headcellstyle}} | Type&lt;br /&gt;
! {{Headcellstyle}} | occurrence&lt;br /&gt;
! {{Headcellstyle}} | Description&lt;br /&gt;
! {{Headcellstyle}} | Attributes&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|| &#039;&#039;xml declaration&#039;&#039;&lt;br /&gt;
|| header&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| &amp;lt;pre&amp;gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&amp;lt;/pre&amp;gt;Required first line of every well-formed XML file.  &#039;&#039;&#039;version=&amp;quot;1.0&amp;quot;&#039;&#039;&#039; refers to version 1.0 of the XML standard.&lt;br /&gt;
|| version=&amp;quot;1.0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;stylesheet&#039;&#039;&lt;br /&gt;
|| header&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| &amp;lt;pre&amp;gt;&amp;lt;?xml-stylesheet type=&amp;quot;text/xsl&amp;quot; href=&amp;quot;example.xsl&amp;quot; ?&amp;gt;&amp;lt;/pre&amp;gt;Declares that &#039;&#039;example.xsl&#039;&#039; (needs to be in the local directory) will be the default stylesheet to an XML visualization tool.  Change &#039;&#039;example.xsl&#039;&#039; to indicate a different stylesheet in the local directory.  Refer to [http://www.w3schools.com/xsl W3 Schools XSLT Help] for assistance in constructing XSLT files.&lt;br /&gt;
&lt;br /&gt;
XML rules actually allow for multiple stylesheet declarations.  Explore this possibility as your own adventure.&lt;br /&gt;
|| type=&amp;quot;text/xsl&amp;quot;&amp;lt;br /&amp;gt;href=&amp;quot;example.xsl&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASroot | &#039;&#039;&#039;SASroot&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| The canSAS reduced 1-D SAS data (cansas1d/1.0) will be in the &#039;&#039;&#039;SASroot&#039;&#039;&#039; database. &lt;br /&gt;
(This is similar to NXroot used by NeXus.)&lt;br /&gt;
* &#039;&#039;&#039;version=&amp;quot;1.0&amp;quot;&#039;&#039;&#039; is required to identify the cansas1d/1.0 standard for SAS data.&lt;br /&gt;
* &#039;&#039;&#039;xmlns&#039;&#039;&#039; sets the default namespace for all elements (with no prefix) in this file.&lt;br /&gt;
* &#039;&#039;&#039;xmlns:xsi&#039;&#039;&#039; sets &#039;&#039;&#039;xsi&#039;&#039;&#039; as the prefix for any elements from the governing XML Schema.&lt;br /&gt;
* &#039;&#039;&#039;xsi:schemaLocation&#039;&#039;&#039;  associates a suggested URL (where the cansas1d/1.0 XML Schema might be found) with the default namespace string.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;SASroot version=&amp;quot;1.0&amp;quot;&lt;br /&gt;
    xmlns=&amp;quot;cansas1d/1.0&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&lt;br /&gt;
    xsi:schemaLocation=&amp;quot;cansas1d/1.0 http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd&amp;quot;&lt;br /&gt;
    &amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|| version=&amp;quot;1.0&amp;quot;&amp;lt;br /&amp;gt;xmlns=&amp;quot;{this-namespace-URI}&amp;quot;&amp;lt;br /&amp;gt;xmlns:xsi=&amp;quot;{URL-of-governing-XML-Schema}&amp;quot;&amp;lt;br /&amp;gt;xsi:schemaLocation=&amp;quot;{this-namespace-URI} {URL-to-find-XML-Schema}&amp;quot;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d_SASroot&amp;diff=306</id>
		<title>cansas1d SASroot</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d_SASroot&amp;diff=306"/>
		<updated>2008-04-14T21:58:49Z</updated>

		<summary type="html">&lt;p&gt;164.54.96.62: define the terms&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Name&lt;br /&gt;
! {{Headcellstyle}} | Type&lt;br /&gt;
! {{Headcellstyle}} | occurrence&lt;br /&gt;
! {{Headcellstyle}} | Description&lt;br /&gt;
! {{Headcellstyle}} | Attributes&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;xml declaration&#039;&#039;&lt;br /&gt;
|| header&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| &amp;lt;pre&amp;gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&amp;lt;/pre&amp;gt;Required first line of every well-formed XML file.&lt;br /&gt;
|| type=&amp;quot;text/xsl&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| &#039;&#039;stylesheet&#039;&#039;&lt;br /&gt;
|| header&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [0..1]&lt;br /&gt;
|| &amp;lt;pre&amp;gt;&amp;lt;?xml-stylesheet type=&amp;quot;text/xsl&amp;quot; href=&amp;quot;example.xsl&amp;quot; ?&amp;gt;&amp;lt;/pre&amp;gt;Declares that &#039;&#039;example.xsl&#039;&#039; (needs to be in the local directory) will be the default stylesheet to an XML visualization tool.  Change &#039;&#039;example.xsl&#039;&#039; to indicate a different stylesheet in the local directory.&lt;br /&gt;
&lt;br /&gt;
XML rules actually allow for multiple stylesheet declarations.  Explore this possibility as your own adventure.&lt;br /&gt;
|| type=&amp;quot;text/xsl&amp;quot;&amp;lt;br /&amp;gt;href=&amp;quot;example.xsl&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| [[cansas1d_SASroot | &#039;&#039;&#039;SASroot&#039;&#039;&#039;]]&lt;br /&gt;
|| container&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [1..1]&lt;br /&gt;
|| The canSAS reduced 1-D SAS data (cansas1d/1.0) will be in the &#039;&#039;&#039;SASroot&#039;&#039;&#039; database. This is similar to NXroot used by NeXus.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;SASroot version=&amp;quot;1.0&amp;quot;&lt;br /&gt;
    xmlns=&amp;quot;cansas1d/1.0&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&lt;br /&gt;
    xsi:schemaLocation=&amp;quot;cansas1d/1.0 http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd&amp;quot;&lt;br /&gt;
    &amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|| version=&amp;quot;1.0&amp;quot;&amp;lt;br /&amp;gt;xmlns=&amp;quot;{this-namespace-URI}&amp;quot;&amp;lt;br /&amp;gt;xmlns:xsi=&amp;quot;{URL-of-governing-XML-Schema}&amp;quot;&amp;lt;br /&amp;gt;xsi:schemaLocation=&amp;quot;{this-namespace-URI} {URL-to-find-XML-Schema}&amp;quot;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>164.54.96.62</name></author>
	</entry>
</feed>