cansas1d.xml: Difference between revisions

From canSAS
(New page: =XML template: cansas1d.xml <pre> <?xml version="1.0"?> <SASroot xmlns="http://www.smallangles.net/cansas1d" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="ht...)
 
No edit summary
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
=XML template: cansas1d.xml
=XML template: cansas1d.xml=


<pre>
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.
<?xml version="1.0"?>
 
<SASroot xmlns="http://www.smallangles.net/cansas1d"
This file is now in the subversion respository:
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
[http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xml  http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xml]
xsi:schemaLocation="http://www.smallangles.net/cansas1d cansas1d.xsd"
 
version="0.1a">
A nicely-formatted display version can be viewed through the TRAC repository:
<SASentry>
[http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk/cansas1d.xml  http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk/cansas1d.xml]
<Title></Title>
<Run></Run>
<SASdata>
<Idata>
<Q units="1/A">0.02</Q>
<I units="1/cm">1000</I>
<Qdev units="1/A" />
<Idev units="1/cm">3</Idev>
<Qfwhm units="1/A"><!-- Qfwhm is optional --></Qfwhm>
<Qmean units="1/A"><!-- Qmean is optional --></Qmean>
<Shadowfactor><!-- Shadowfactor is optional --></Shadowfactor>
</Idata>
</SASdata>
<SASsample>
<sample_ID>SI600-new-long</sample_ID>
<sample_thickness units="mm">1.03</sample_thickness>
<sample_transmission>0.327</sample_transmission>
<sample_temperature units="C">0.0000</sample_temperature>
<sample_rotation units="degrees">
22.5
</sample_rotation>
<sample_offset_angle units="degrees">
<!--
++ Exactly what is this? 
++ Could there be two components?
-->
0.020
</sample_offset_angle>
<sample_x units="mm">10.00</sample_x>
<sample_y units="mm">0.00</sample_y>
<sample_prep>
http://chemtools.chem.soton.ac.uk/projects/blog/blogs.php/bit_id/2720
</sample_prep>
</SASsample>
<SASinstrument>
<SASsource></SASsource>
<SAScollimation></SAScollimation>
<SASdetector></SASdetector>
</SASinstrument>
<SASprocess>
<SASprocessnote></SASprocessnote>
</SASprocess>
<SASnote></SASnote>
</SASentry>
</SASroot>
</pre>

Latest revision as of 17:24, 22 March 2008

XML template: cansas1d.xml

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.

This file is now in the subversion respository: http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xml

A nicely-formatted display version can be viewed through the TRAC repository: http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk/cansas1d.xml