cansas1d SASroot: Difference between revisions
From canSAS
 (define the terms)  | 
			
(No difference) 
 | 
Revision as of 21:58, 14 April 2008
| Name | Type | occurrence | Description | Attributes | 
|---|---|---|---|---|
| xml declaration | header | [1..1] | <?xml version="1.0"?>Required first line of every well-formed XML file.  | 
type="text/xsl" | 
| stylesheet | header | [0..1] | <?xml-stylesheet type="text/xsl" href="example.xsl" ?>Declares that example.xsl (needs to be in the local directory) will be the default stylesheet to an XML visualization tool. Change example.xsl to indicate a different stylesheet in the local directory. XML rules actually allow for multiple stylesheet declarations. Explore this possibility as your own adventure.  | 
type="text/xsl" href="example.xsl"  | 
| SASroot | container | [1..1] | The canSAS reduced 1-D SAS data (cansas1d/1.0) will be in the SASroot database. This is similar to NXroot used by NeXus.
<SASroot version="1.0"
    xmlns="cansas1d/1.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="cansas1d/1.0 http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd"
    >
 | 
version="1.0" xmlns="{this-namespace-URI}" xmlns:xsi="{URL-of-governing-XML-Schema}" xsi:schemaLocation="{this-namespace-URI} {URL-to-find-XML-Schema}"  |