- Timestamp:
- May 15, 2008 5:48:16 PM (13 years ago)
- Location:
- 1dwg/trunk
- Files:
-
- 18 added
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
1dwg/trunk/cansas1d.xsd
r29 r32 3 3 <schema xmlns="http://www.w3.org/2001/XMLSchema" 4 4 xmlns:xsd="http://www.w3.org/2001/XMLSchema" 5 xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" jaxb:version="2.0" 5 6 targetNamespace="cansas1d/1.0" xmlns:tns="cansas1d/1.0" 6 7 elementFormDefault="qualified"> 8 9 <!-- JAXB: http://java.sun.com/developer/technicalArticles/WebServices/jaxb/ --> 7 10 8 11 <complexType name="floatUnitType"> 9 12 <simpleContent> 10 13 <extension base="float"> 11 <attribute name="unit" type="string" use="required"> 12 <annotation> 13 <documentation> 14 <DT>@unit</DT> 15 <DD> 16 Data unit to be given in standard SI 17 abbreviations (e.g., m, cm, mm, nm, K) 18 with the following exceptions: 19 <OL> 20 <LI>um=micrometres</LI> 21 <LI>C=celsius</LI> 22 <LI>A=Angstroms</LI> 23 <LI>percent=%.</LI> 24 <LI>fraction</LI> 25 <LI>a.u.=arbitrary units</LI> 26 <LI> 27 none=no units are relevant (such 28 as dimensionless) 29 </LI> 30 </OL> 31 </DD> 32 </documentation> 33 </annotation> 34 </attribute> 14 <attribute name="unit" type="string" use="required" /> 35 15 </extension> 36 16 </simpleContent> … … 41 21 <group name="positionGroup"> 42 22 <sequence> 43 <annotation> 44 <documentation> 45 <DT>x, y, z</DT> 46 <DD> 47 Coordinates for (x, y, z) values representing a 48 position or dimension. Unit must be specified 49 for each. 50 </DD> 51 </documentation> 52 </annotation> 53 <element name="x" type="tns:floatUnitType" minOccurs="0" 54 maxOccurs="1"> 23 <element name="x" type="tns:floatUnitType" minOccurs="0" maxOccurs="1" /> 24 <element name="y" type="tns:floatUnitType" minOccurs="0" maxOccurs="1" /> 25 <element name="z" type="tns:floatUnitType" minOccurs="0" maxOccurs="1" /> 26 </sequence> 27 </group> 28 29 <complexType name="positionType"> 30 <group ref="tns:positionGroup" /> 31 <attribute name="name" type="string" use="optional" default="" /> 32 </complexType> 33 34 <group name="orientationGroup"> 35 <sequence> 36 <element name="roll" type="tns:floatUnitType" minOccurs="0" maxOccurs="1" /> 37 <element name="pitch" type="tns:floatUnitType" minOccurs="0" maxOccurs="1" /> 38 <element name="yaw" type="tns:floatUnitType" minOccurs="0" maxOccurs="1" /> 39 </sequence> 40 </group> 41 42 <complexType name="orientationType"> 43 <group ref="tns:orientationGroup" /> 44 <attribute name="name" type="string" use="optional" default="" /> 45 </complexType> 46 47 <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> 48 49 <complexType name="IdataType"> 50 <sequence> 51 <element name="Q" minOccurs="1" maxOccurs="1" type="tns:floatUnitType" /> 52 <element name="I" minOccurs="1" maxOccurs="1" type="tns:floatUnitType" /> 53 <element name="Idev" minOccurs="0" maxOccurs="1" type="tns:floatUnitType" default="0" /> 54 <xsd:choice> 55 <!-- [ [Qdev] | [[dQw] | [dQl]] ] --> 56 <element name="Qdev" minOccurs="0" maxOccurs="1" type="tns:floatUnitType" default="0" /> 57 <xsd:sequence> 58 <element name="dQw" minOccurs="0" maxOccurs="1" type="tns:floatUnitType" default="0" /> 59 <element name="dQl" minOccurs="0" maxOccurs="1" type="tns:floatUnitType" default="0" /> 60 </xsd:sequence> 61 </xsd:choice> 62 <element name="Qmean" minOccurs="0" maxOccurs="1" type="tns:floatUnitType" default="0" /> 63 <element name="Shadowfactor" minOccurs="0" maxOccurs="1" type="float" default="1.0" /> 64 <xsd:any minOccurs="0" maxOccurs="unbounded" processContents="skip" namespace="##other" /> 65 </sequence> 66 </complexType> 67 68 <complexType name="SASdataType"> 69 <sequence> 70 <element name="Idata" minOccurs="1" maxOccurs="unbounded" type="tns:IdataType" /> 71 </sequence> 72 <attribute name="name" type="string" use="optional" default="" /> 73 </complexType> 74 75 <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> 76 77 <complexType name="SASsampleType"> 78 <sequence> 79 <element name="ID" minOccurs="1" maxOccurs="1" type="string" /> 80 <element name="thickness" minOccurs="0" maxOccurs="1" type="tns:floatUnitType" /> 81 <element name="transmission" minOccurs="0" maxOccurs="1" type="float" /> 82 <element name="temperature" minOccurs="0" maxOccurs="1" type="tns:floatUnitType" /> 83 <element name="position" minOccurs="0" maxOccurs="1" type="tns:positionType" /> 84 <element name="orientation" minOccurs="0" maxOccurs="1" type="tns:orientationType" /> 85 <element name="details" minOccurs="0" maxOccurs="unbounded" /> 86 <xsd:any minOccurs="0" maxOccurs="unbounded" processContents="skip" namespace="##other" /> 87 </sequence> 88 <attribute name="name" type="string" use="optional" default="" /> 89 </complexType> 90 91 <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> 92 93 <complexType name="termType"> 94 <simpleContent> 95 <extension base="string"> 96 <attribute name="name" type="string" use="optional" default="" /> 97 <attribute name="unit" type="string" use="optional"/> 98 </extension> 99 </simpleContent> 100 </complexType> 101 102 <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> 103 104 <complexType name="SASprocessType"> 105 <annotation> 106 <appinfo> 107 <!-- JAXB: simplify class name --> 108 <jaxb:property name="SASprocess" /> 109 </appinfo> 110 </annotation> 111 <sequence> 112 <element name="name" minOccurs="0" maxOccurs="1" 113 type="string" default=""> 55 114 <annotation> 56 <documentation> 57 <DT>position/cs:x</DT> 58 <DD> 59 [0..1] Translation in the horizontal 60 direction, orthogonal to Y and Z. Positive X 61 direction increases as defined by Y and Z. 62 Unit must be specified. 63 </DD> 64 </documentation> 115 <appinfo> 116 <!-- Remap collision of Name when using JAXB --> 117 <jaxb:property name="SASprocessName" /> 118 </appinfo> 65 119 </annotation> 66 120 </element> 67 <element name="y" type="tns:floatUnitType" minOccurs="0" 68 maxOccurs="1"> 69 <annotation> 70 <documentation> 71 <DT>position/cs:y</DT> 72 <DD> 73 [0..1] Translation along the vertical 74 gravitational direction. Positive direction 75 increases upward. Unit must be specified. 76 </DD> 77 </documentation> 78 </annotation> 79 </element> 80 <element name="z" type="tns:floatUnitType" minOccurs="0" 81 maxOccurs="1"> 82 <annotation> 83 <documentation> 84 <DT>position/cs:z</DT> 85 <DD> 86 [0..1] Translation along the beam direction. 87 Positive direction increases from source 88 towards detector. Unit must be specified. 89 </DD> 90 </documentation> 91 </annotation> 92 </element> 93 </sequence> 94 </group> 95 96 <complexType name="positionType"> 97 <group ref="tns:positionGroup" /> 98 <attribute name="name" type="string" use="optional" /> 99 </complexType> 100 101 <group name="orientationGroup"> 102 <sequence> 121 <element name="date" minOccurs="0" maxOccurs="1" type="string" /> 122 <element name="description" minOccurs="0" maxOccurs="1" /> 123 <element name="term" minOccurs="0" maxOccurs="unbounded" type="tns:termType" /> 124 <element name="SASprocessnote" minOccurs="1" maxOccurs="unbounded" /> 125 <xsd:any minOccurs="0" maxOccurs="unbounded" processContents="skip" namespace="##other" /> 126 </sequence> 127 <attribute name="name" type="string" use="optional" default=""> 103 128 <annotation> 104 <documentation> 105 <DT>roll, pitch, yaw</DT> 106 <DD> 107 Coordinates for (roll, pitch, yaw) values 108 representing an orientation or rotation. Unit 109 must be specified for each. 110 </DD> 111 </documentation> 112 </annotation> 113 <element name="roll" type="tns:floatUnitType" minOccurs="0" 114 maxOccurs="1"> 115 <annotation> 116 <documentation> 117 <DT>orientation/cs:roll</DT> 118 <DD> 119 [0..1] Rotation about about the Z axis. Unit 120 must be specified. 121 </DD> 122 </documentation> 123 </annotation> 124 </element> 125 <element name="pitch" type="tns:floatUnitType" minOccurs="0" 126 maxOccurs="1"> 127 <annotation> 128 <documentation> 129 <DT>orientation/cs:pitch</DT> 130 <DD> 131 [0..1] Rotation about about the X axis. Unit 132 must be specified. 133 </DD> 134 </documentation> 135 </annotation> 136 </element> 137 <element name="yaw" type="tns:floatUnitType" minOccurs="0" 138 maxOccurs="1"> 139 <annotation> 140 <documentation> 141 <DT>orientation/cs:yaw</DT> 142 <DD> 143 [0..1] Rotation about about the Y axis. Unit 144 must be specified. 145 </DD> 146 </documentation> 147 </annotation> 148 </element> 149 </sequence> 150 </group> 151 152 <complexType name="orientationType"> 153 <group ref="tns:orientationGroup" /> 154 <attribute name="name" type="string" use="optional" /> 155 </complexType> 156 157 <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> 158 159 <complexType name="IdataType"> 160 <sequence> 161 <element name="Q" minOccurs="1" maxOccurs="1" 162 type="tns:floatUnitType"> 163 <annotation> 164 <documentation> 165 <DT> 166 /cs:SASroot/cs:SASentry/cs:SASdata/cs:Idata/cs:Q 167 </DT> 168 <DD> 169 [1..1] Q = (4 pi / lambda) sin(theta) 170 <br /> 171 where lambda is the wavelength of the 172 radiation and 2theta is the angle through 173 which the detected radiation has been 174 scattered. 175 </DD> 176 </documentation> 177 <documentation> 178 <DT> 179 /cs:SASroot/cs:SASentry/cs:SASdata/cs:Idata/cs:Q/@unit 180 </DT> 181 <DD> 182 [1..1] Required unit for Q. (See @unit for 183 details.) 184 </DD> 185 </documentation> 186 </annotation> 187 </element> 188 <element name="I" minOccurs="1" maxOccurs="1" 189 type="tns:floatUnitType"> 190 <annotation> 191 <documentation> 192 <DT> 193 /cs:SASroot/cs:SASentry/cs:SASdata/cs:Idata/cs:I 194 </DT> 195 <DD> 196 [1..1] Intensity of the detected radiation. 197 </DD> 198 </documentation> 199 <documentation> 200 <DT> 201 /cs:SASroot/cs:SASentry/cs:SASdata/cs:Idata/cs:I/@unit 202 </DT> 203 <DD> 204 [1..1] Required unit for I. (See @unit for 205 details.) 206 </DD> 207 </documentation> 208 </annotation> 209 </element> 210 <element name="Idev" minOccurs="0" maxOccurs="1" 211 type="tns:floatUnitType" default="0"> 212 <annotation> 213 <documentation> 214 <DT> 215 /cs:SASroot/cs:SASentry/cs:SASdata/cs:Idata/cs:Idev 216 </DT> 217 <DD> 218 [0..1] Estimated standard deviation of I. 219 Must specify the unit as an attribute. 220 </DD> 221 </documentation> 222 <documentation> 223 <DT> 224 /cs:SASroot/cs:SASentry/cs:SASdata/cs:Idata/cs:Idev/@unit 225 </DT> 226 <DD> 227 [1..1] Required unit for Idev. (See @unit 228 for details.) 229 </DD> 230 </documentation> 231 </annotation> 232 </element> 233 <xsd:choice> 234 <!-- [ [Qdev] | [[dQw] | [dQl]] ] --> 235 <element name="Qdev" minOccurs="0" maxOccurs="1" 236 type="tns:floatUnitType" default="0"> 237 <annotation> 238 <documentation> 239 <DT> 240 /cs:SASroot/cs:SASentry/cs:SASdata/cs:Idata/cs:Qdev 241 </DT> 242 <DD> 243 [0..1] Estimated standard deviation of 244 Q. Must specify the unit as an 245 attribute. 246 </DD> 247 </documentation> 248 <documentation> 249 <DT> 250 /cs:SASroot/cs:SASentry/cs:SASdata/cs:Idata/cs:Qdev/@unit 251 </DT> 252 <DD> 253 [1..1] Required unit for Qdev. (See 254 @unit for details.) 255 </DD> 256 </documentation> 257 </annotation> 258 </element> 259 <xsd:sequence> 260 <element name="dQw" minOccurs="0" maxOccurs="1" 261 type="tns:floatUnitType" default="0"> 262 <annotation> 263 <documentation> 264 <DT> 265 /cs:SASroot/cs:SASentry/cs:SASdata/cs:Idata/cs:dQw 266 </DT> 267 <DD> 268 [0..1] Q resolution along the axis 269 of scanning (the high-resolution ''slit width'' 270 direction). 271 </DD> 272 </documentation> 273 <documentation> 274 <DT> 275 /cs:SASroot/cs:SASentry/cs:SASdata/cs:Idata/cs:dQw/@unit 276 </DT> 277 <DD> 278 [1..1] Required unit for dQw. (See 279 @unit for details.) 280 </DD> 281 </documentation> 282 </annotation> 283 </element> 284 <element name="dQl" minOccurs="0" maxOccurs="1" 285 type="tns:floatUnitType" default="0"> 286 <annotation> 287 <documentation> 288 <DT> 289 /cs:SASroot/cs:SASentry/cs:SASdata/cs:Idata/cs:dQl 290 </DT> 291 <DD> 292 [0..1] Q resolution perpendicular to 293 the axis of scanning (the low-resolution ''slit 294 length'' direction). 295 </DD> 296 </documentation> 297 <documentation> 298 <DT> 299 /cs:SASroot/cs:SASentry/cs:SASdata/cs:Idata/cs:dQl/@unit 300 </DT> 301 <DD> 302 [1..1] Required unit for dQl. (See 303 @unit for details.) 304 </DD> 305 </documentation> 306 </annotation> 307 </element> 308 </xsd:sequence> 309 </xsd:choice> 310 <element name="Qmean" minOccurs="0" maxOccurs="1" 311 type="tns:floatUnitType" default="0"> 312 <annotation> 313 <documentation> 314 <DT> 315 /cs:SASroot/cs:SASentry/cs:SASdata/cs:Idata/cs:Qmean 316 </DT> 317 <DD> 318 [0..1] Mean value of Q for this datum. Must 319 specify the unit as an attribute. 320 </DD> 321 </documentation> 322 <documentation> 323 <DT> 324 /cs:SASroot/cs:SASentry/cs:SASdata/cs:Idata/cs:Qmean/@unit 325 </DT> 326 <DD> 327 [1..1] Required unit for Qmean. (See @unit 328 for details.) 329 </DD> 330 </documentation> 331 </annotation> 332 </element> 333 <element name="Shadowfactor" minOccurs="0" maxOccurs="1" 334 type="float" default="1.0"> 335 <annotation> 336 <documentation> 337 <DT> 338 /cs:SASroot/cs:SASentry/cs:SASdata/cs:Idata/cs:Shadowfactor 339 </DT> 340 <DD> 341 [0..1] Describes the adjustment due to the 342 beam stop penumbra. (This definition needs 343 revision. NIST?) NOTE: There is no "unit" 344 attribute. 345 </DD> 346 </documentation> 347 </annotation> 348 </element> 349 <xsd:any minOccurs="0" maxOccurs="unbounded" 350 processContents="skip" namespace="##other"> 351 <annotation> 352 <documentation> 353 <DT> 354 /cs:SASroot/cs:SASentry/cs:SASdata/cs:Idata/_any_; 355 </DT> 356 <DD> 357 [0..inf] Provision at this point for any 358 element to be entered that is not part of 359 the canSAS standard. Use a 360 '''xmlns="some-simple-identification-string"''' 361 to identify that this is a ''foreign 362 element.'' 363 </DD> 364 </documentation> 365 </annotation> 366 </xsd:any> 367 </sequence> 368 </complexType> 369 370 <complexType name="SASdataType"> 371 <sequence> 372 <element name="Idata" minOccurs="1" maxOccurs="unbounded" 373 type="tns:IdataType"> 374 <annotation> 375 <documentation> 376 <DT> 377 /cs:SASroot/cs:SASentry/cs:SASdata/cs:Idata 378 </DT> 379 <DD> 380 [1..inf] Idata describes a single SAS data 381 point. 382 </DD> 383 </documentation> 384 </annotation> 385 </element> 386 </sequence> 387 <attribute name="name" type="string" use="optional"> 388 <annotation> 389 <documentation> 390 <DT>/cs:SASroot/cs:SASentry/cs:SASdata/@name</DT> 391 <DD> 392 [0..1] Optional string attribute to identify 393 this particular SASdata. 394 </DD> 395 </documentation> 129 <appinfo> 130 <!-- Remap collision of Name when using JAXB --> 131 <jaxb:property name="SASprocessNameAttr" /> 132 </appinfo> 396 133 </annotation> 397 134 </attribute> … … 400 137 <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> 401 138 402 <complexType name="SASsampleType">403 <sequence>404 <element name="ID" minOccurs="1" maxOccurs="1"405 type="string">406 <annotation>407 <documentation>408 <DT>409 /cs:SASroot/cs:SASentry/cs:SASsample/cs:ID410 </DT>411 <DD>412 [1..1] Text string that identifies this413 sample.414 </DD>415 </documentation>416 </annotation>417 </element>418 <element name="thickness" minOccurs="0" maxOccurs="1"419 type="tns:floatUnitType">420 <annotation>421 <documentation>422 <DT>423 /cs:SASroot/cs:SASentry/cs:SASsample/cs:thickness424 </DT>425 <DD>426 [0..1] Thickness of this sample. Must427 specify the unit as an attribute.428 </DD>429 </documentation>430 <documentation>431 <DT>432 /cs:SASroot/cs:SASentry/cs:SASsample/cs:thickness/@unit433 </DT>434 <DD>435 [1..1] Required unit for thickness. (See436 @unit for details.)437 </DD>438 </documentation>439 </annotation>440 </element>441 <element name="transmission" minOccurs="0" maxOccurs="1"442 type="float">443 <annotation>444 <documentation>445 <DT>446 /cs:SASroot/cs:SASentry/cs:SASsample/cs:transmission447 </DT>448 <DD>449 [0..1] Transmission (1-attenuation) of this450 sample. Express this as a fraction, not as a451 percentage. NOTE: there is not "unit"452 attribute.453 </DD>454 </documentation>455 </annotation>456 </element>457 <element name="temperature" minOccurs="0" maxOccurs="1"458 type="tns:floatUnitType">459 <annotation>460 <documentation>461 <DT>462 /cs:SASroot/cs:SASentry/cs:SASsample/cs:temperature463 </DT>464 <DD>465 [0..1] Temperature of this sample. Must466 specify the unit as an attribute.467 </DD>468 </documentation>469 <documentation>470 <DT>471 /cs:SASroot/cs:SASentry/cs:SASsample/cs:temperature/@unit472 </DT>473 <DD>474 [1..1] Required unit for temperature. (See475 @unit for details.)476 </DD>477 </documentation>478 </annotation>479 </element>480 <element name="position" minOccurs="0" maxOccurs="1"481 type="tns:positionType">482 <annotation>483 <documentation>484 <DT>485 /cs:SASroot/cs:SASentry/cs:SASsample/cs:position486 </DT>487 <DD>488 [0..1] Location in X, Y, and Z of the489 sample. Must specify the unit as an490 attribute to each position.491 </DD>492 </documentation>493 <documentation>494 <DT>495 /cs:SASroot/cs:SASentry/cs:SASsample/cs:position/@name496 </DT>497 <DD>498 Optional attribute to name this position.499 </DD>500 </documentation>501 <documentation>502 <DT>503 /cs:SASroot/cs:SASentry/cs:SASsample/cs:position/cs:x504 </DT>505 <DD>[0..1] Location of the sample in X.</DD>506 </documentation>507 <documentation>508 <DT>509 /cs:SASroot/cs:SASentry/cs:SASsample/cs:position/cs:x/@unit510 </DT>511 <DD>512 [1..1] Required unit for the dimension of x.513 (See @unit for details.)514 </DD>515 </documentation>516 <documentation>517 <DT>518 /cs:SASroot/cs:SASentry/cs:SASsample/cs:position/cs:y519 </DT>520 <DD>[0..1] Location of the sample in Y.</DD>521 </documentation>522 <documentation>523 <DT>524 /cs:SASroot/cs:SASentry/cs:SASsample/cs:position/cs:y/@unit525 </DT>526 <DD>527 [1..1] Required unit for the dimension of y.528 (See @unit for details.)529 </DD>530 </documentation>531 <documentation>532 <DT>533 /cs:SASroot/cs:SASentry/cs:SASsample/cs:position/cs:z534 </DT>535 <DD>536 [0..1] Location of the sample in Z. While537 this is allowed by the standard, it does not538 make much sense for small-angle scattering.539 </DD>540 </documentation>541 <documentation>542 <DT>543 /cs:SASroot/cs:SASentry/cs:SASsample/cs:position/cs:z/@unit544 </DT>545 <DD>546 [1..1] Required unit for the dimension of z.547 (See @unit for details.)548 </DD>549 </documentation>550 </annotation>551 </element>552 <element name="orientation" minOccurs="0" maxOccurs="1"553 type="tns:orientationType">554 <annotation>555 <documentation>556 <DT>557 /cs:SASroot/cs:SASentry/cs:SASsample/cs:orientation558 </DT>559 <DD>560 [0..1] Orientation (rotation) of the sample.561 </DD>562 </documentation>563 <documentation>564 <DT>565 /cs:SASroot/cs:SASentry/cs:SASsample/cs:orientation/@name566 </DT>567 <DD>568 Optional attribute to name this orientation.569 </DD>570 </documentation>571 <documentation>572 <DT>573 /cs:SASroot/cs:SASentry/cs:SASsample/cs:orientation/cs:roll574 </DT>575 <DD>576 [0..1] Optional rotation of the sample about577 the Z axis (roll).578 </DD>579 </documentation>580 <documentation>581 <DT>582 /cs:SASroot/cs:SASentry/cs:SASsample/cs:orientation/cs:roll/@unit583 </DT>584 <DD>585 [1..1] Required unit for the dimension of586 roll. (See @unit for details.)587 </DD>588 </documentation>589 <documentation>590 <DT>591 /cs:SASroot/cs:SASentry/cs:SASsample/cs:orientation/cs:pitch592 </DT>593 <DD>594 [0..1] Optional rotation of the sample about595 the X axis (pitch).596 </DD>597 </documentation>598 <documentation>599 <DT>600 /cs:SASroot/cs:SASentry/cs:SASsample/cs:orientation/cs:pitch/@unit601 </DT>602 <DD>603 [1..1] Required unit for the dimension of604 pitch. (See @unit for details.)605 </DD>606 </documentation>607 <documentation>608 <DT>609 /cs:SASroot/cs:SASentry/cs:SASsample/cs:orientation/cs:yaw610 </DT>611 <DD>612 [0..1] Optional rotation of the sample about613 the Y axis (yaw).614 </DD>615 </documentation>616 <documentation>617 <DT>618 /cs:SASroot/cs:SASentry/cs:SASsample/cs:orientation/cs:yaw/@unit619 </DT>620 <DD>621 [1..1] Required unit for the dimension of622 yaw. (See @unit for details.)623 </DD>624 </documentation>625 </annotation>626 </element>627 <element name="details" minOccurs="0"628 maxOccurs="unbounded">629 <annotation>630 <documentation>631 <DT>632 /cs:SASroot/cs:SASentry/cs:SASsample/cs:details633 </DT>634 <DD>635 [0..inf] Text string to supply additional636 sample details.637 </DD>638 </documentation>639 </annotation>640 </element>641 <xsd:any minOccurs="0" maxOccurs="unbounded"642 processContents="skip" namespace="##other">643 <annotation>644 <documentation>645 <DT>646 /cs:SASroot/cs:SASentry/cs:SASsample/_any_;647 </DT>648 <DD>649 [0..inf] Provision at this point for any650 element to be entered that is not part of651 the canSAS standard. Use a652 '''xmlns="some-simple-identification-string"'''653 to identify that this is a ''foreign654 element.''655 </DD>656 </documentation>657 </annotation>658 </xsd:any>659 </sequence>660 <attribute name="name" type="string" use="optional">661 <annotation>662 <documentation>663 <DT>/cs:SASroot/cs:SASentry/cs:SASsample/@name</DT>664 <DD>665 [0..1] Optional attribute to name this sample.666 (Should be the same as SASsample/cs:ID)667 </DD>668 </documentation>669 </annotation>670 </attribute>671 </complexType>672 673 <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->674 675 <complexType name="termType">676 <annotation>677 <documentation>678 <DT>cs:term</DT>679 <DD>680 [0..1] This is used to specify the value of a single681 variable, parameter, or term related to the682 SASprocess step. This could also be used in a683 SASnote element to indicate terms not associated684 with a SASprocess step.685 </DD>686 </documentation>687 </annotation>688 <simpleContent>689 <extension base="string">690 <attribute name="name" type="string" use="required">691 <annotation>692 <documentation>693 <DT>cs:term/@name</DT>694 <DD>[1..1] Name of the term.</DD>695 </documentation>696 </annotation>697 </attribute>698 <attribute name="unit" type="string" use="optional">699 <annotation>700 <documentation>701 <DT>cs:term/@unit</DT>702 <DD>703 [1..1] Unit (string) of the term. (See704 @unit for details.)705 </DD>706 </documentation>707 </annotation>708 </attribute>709 </extension>710 </simpleContent>711 </complexType>712 713 <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->714 715 <complexType name="SASprocessType">716 <sequence>717 <element name="name" minOccurs="0" maxOccurs="1"718 type="string">719 <annotation>720 <documentation>721 <DT>722 /cs:SASroot/cs:SASentry/cs:SASprocess/cs:name723 </DT>724 <DD>725 [0..1] Optional name for this data726 processing or analysis step.727 </DD>728 </documentation>729 </annotation>730 </element>731 <element name="date" minOccurs="0" maxOccurs="1"732 type="string">733 <annotation>734 <documentation>735 <DT>736 /cs:SASroot/cs:SASentry/cs:SASprocess/cs:date737 </DT>738 <DD>739 [0..1] Optional date for this data740 processing or analysis step. *** SHOULD WE741 SPECIFY THE FORMAT FOR THE DATE? ***742 </DD>743 </documentation>744 </annotation>745 </element>746 <element name="description" minOccurs="0" maxOccurs="1">747 <annotation>748 <documentation>749 <DT>750 /cs:SASroot/cs:SASentry/cs:SASprocess/cs:description751 </DT>752 <DD>753 [0..1] Optional description for this data754 processing or analysis step.755 </DD>756 </documentation>757 </annotation>758 </element>759 <element name="term" minOccurs="0" maxOccurs="unbounded"760 type="tns:termType">761 <annotation>762 <documentation>763 <DT>764 /cs:SASroot/cs:SASentry/cs:SASprocess/cs:term765 </DT>766 <DD>767 [0..1] This is used to specify the value of768 a single variable, parameter, or term769 related to the SASprocess step.770 </DD>771 </documentation>772 </annotation>773 </element>774 <element name="SASprocessnote" minOccurs="1"775 maxOccurs="unbounded">776 <annotation>777 <documentation>778 <DT>779 /cs:SASroot/cs:SASentry/cs:SASprocess/cs:SASprocessnote780 </DT>781 <DD>782 [1..inf] This element is used to describe783 anything about SASprocess that is not784 already described.785 </DD>786 </documentation>787 </annotation>788 </element>789 <xsd:any minOccurs="0" maxOccurs="unbounded"790 processContents="skip" namespace="##other">791 <annotation>792 <documentation>793 <DT>794 /cs:SASroot/cs:SASentry/cs:SASprocess/cs:SASprocessnote/_any_;795 </DT>796 <DD>797 [0..inf] Provision at this point for any798 element to be entered that is not part of799 the canSAS standard. Use a800 '''xmlns="some-simple-identification-string"'''801 to identify that this is a ''foreign802 element.''803 </DD>804 </documentation>805 </annotation>806 </xsd:any>807 </sequence>808 <attribute name="name" type="string" use="optional">809 <annotation>810 <documentation>811 <DT>/cs:SASroot/cs:SASentry/cs:SASprocess/@name</DT>812 <DD>813 [0..1] Optional attribute to provide a name for814 this SASprocess. It is redundant with815 /cs:SASroot/cs:SASentry/cs:SASprocess/cs:name816 but it is not the same. It should probably be817 removed.818 </DD>819 </documentation>820 </annotation>821 </attribute>822 </complexType>823 824 <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->825 826 139 <complexType name="SASsourceType"> 827 140 <sequence> 828 <element name="radiation" minOccurs="1" maxOccurs="1" 829 type="string"> 830 <annotation> 831 <documentation> 832 <DT> 833 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASsource/cs:radiation 834 </DT> 835 <DD> 836 [1..1] Name of the radiation used (neutron, 837 X-ray, synchrotron X-ray, Cu Ka X-ray tube, 838 ..." 839 </DD> 840 </documentation> 841 </annotation> 842 </element> 843 <element name="beam_size" minOccurs="0" maxOccurs="1" 844 type="tns:positionType"> 845 <annotation> 846 <documentation> 847 <DT> 848 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASsource/cs:beam_size 849 </DT> 850 <DD> 851 [0..1] Physical dimension of the beam 852 (incident on the sample). Note: If beam is 853 round, just use X dimension. Note: While Z 854 dimension is allowed by the standard, it 855 does not make sense for small-angle 856 scattering. 857 </DD> 858 </documentation> 859 <documentation> 860 <DT> 861 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASsource/cs:beam_size/@name 862 </DT> 863 <DD> 864 Optional attribute to clarify the name of 865 this beam size. 866 </DD> 867 </documentation> 868 <documentation> 869 <DT> 870 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASsource/cs:beam_size/cs:x 871 </DT> 872 <DD>[0..1] Dimension of the beam size in X.</DD> 873 </documentation> 874 <documentation> 875 <DT> 876 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASsource/cs:beam_size/cs:x/@unit 877 </DT> 878 <DD> 879 [1..1] Required unit for the dimension of x. 880 (See @unit for details.) 881 </DD> 882 </documentation> 883 <documentation> 884 <DT> 885 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASsource/cs:beam_size/cs:y 886 </DT> 887 <DD>[0..1] Dimension of the beam size in Y.</DD> 888 </documentation> 889 <documentation> 890 <DT> 891 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASsource/cs:beam_size/cs:y/@unit 892 </DT> 893 <DD> 894 [1..1] Required unit for the dimension of y. 895 (See @unit for details.) 896 </DD> 897 </documentation> 898 <documentation> 899 <DT> 900 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASsource/cs:beam_size/cs:z 901 </DT> 902 <DD> 903 [0..1] Dimension of the beam size in Z. 904 While this is allowed by the standard, it 905 does not make much sense for small-angle 906 scattering. 907 </DD> 908 </documentation> 909 <documentation> 910 <DT> 911 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASsource/cs:beam_size/cs:z/@unit 912 </DT> 913 <DD> 914 [1..1] Required unit for the dimension of z. 915 (See @unit for details.) 916 </DD> 917 </documentation> 918 </annotation> 919 </element> 920 <element name="beam_shape" minOccurs="0" maxOccurs="1" 921 type="string"> 922 <annotation> 923 <documentation> 924 <DT> 925 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASsource/cs:beam_shape 926 </DT> 927 <DD> 928 [0..1] Text description of the shape of the 929 beam (incident on the sample). 930 </DD> 931 </documentation> 932 </annotation> 933 </element> 934 <element name="wavelength" minOccurs="0" maxOccurs="1" 935 type="tns:floatUnitType"> 936 <annotation> 937 <documentation> 938 <DT> 939 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASsource/cs:wavelength 940 </DT> 941 <DD> 942 [0..1] wavelength of radiation incident on 943 the sample. 944 </DD> 945 </documentation> 946 <documentation> 947 <DT> 948 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASsource/cs:wavelength/@unit 949 </DT> 950 <DD> 951 [1..1] wavelength of radiation requires a 952 unit to be specified. (See @unit for 953 details.) 954 </DD> 955 </documentation> 956 </annotation> 957 </element> 958 <element name="wavelength_min" minOccurs="0" maxOccurs="1" 959 type="tns:floatUnitType"> 960 <annotation> 961 <documentation> 962 <DT> 963 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASsource/cs:wavelength_min 964 </DT> 965 <DD> 966 [0..1] Some facilities specify wavelength 967 using a range. The minimum of such a range 968 is given by wavelength_min. 969 </DD> 970 </documentation> 971 <documentation> 972 <DT> 973 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASsource/cs:wavelength_min/@unit 974 </DT> 975 <DD> 976 [1..1] wavelength_min requires a unit to be 977 specified. (See @unit for details.) 978 </DD> 979 </documentation> 980 </annotation> 981 </element> 982 <element name="wavelength_max" minOccurs="0" maxOccurs="1" 983 type="tns:floatUnitType"> 984 <annotation> 985 <documentation> 986 <DT> 987 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASsource/cs:wavelength_max 988 </DT> 989 <DD> 990 [0..1] Some facilities specify wavelength 991 using a range. The maximum of such a range 992 is given by wavelength_max. 993 </DD> 994 </documentation> 995 <documentation> 996 <DT> 997 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASsource/cs:wavelength_max/@unit 998 </DT> 999 <DD> 1000 [1..1] wavelength_max requires a unit to be 1001 specified. (See @unit for details.) 1002 </DD> 1003 </documentation> 1004 </annotation> 1005 </element> 1006 <element name="wavelength_spread" minOccurs="0" 1007 maxOccurs="1" type="tns:floatUnitType"> 1008 <annotation> 1009 <documentation> 1010 <DT> 1011 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASsource/cs:wavelength_spread 1012 </DT> 1013 <DD> 1014 [0..1] Some facilities specify the width of 1015 the wavelength spectrum. The minimum of such 1016 a range is given by wavelength_spread. 1017 </DD> 1018 </documentation> 1019 <documentation> 1020 <DT> 1021 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASsource/cs:wavelength_spread/@unit 1022 </DT> 1023 <DD> 1024 [1..1] wavelength_spread requires a unit to 1025 be specified. (See @unit for details.) 1026 </DD> 1027 </documentation> 1028 </annotation> 1029 </element> 1030 </sequence> 1031 <attribute name="name" type="string" use="optional"> 1032 <annotation> 1033 <documentation> 1034 <DT> 1035 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASsource/@name 1036 </DT> 1037 <DD> 1038 [0..1] Optional text description of the source 1039 of the radiation (incident on the sample). This 1040 can be different from 1041 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASsource/cs:radiation. 1042 </DD> 1043 </documentation> 1044 </annotation> 1045 </attribute> 141 <element name="radiation" minOccurs="1" maxOccurs="1" type="string" /> 142 <element name="beam_size" minOccurs="0" maxOccurs="1" type="tns:positionType" /> 143 <element name="beam_shape" minOccurs="0" maxOccurs="1" type="string" /> 144 <element name="wavelength" minOccurs="0" maxOccurs="1" type="tns:floatUnitType" /> 145 <element name="wavelength_min" minOccurs="0" maxOccurs="1" type="tns:floatUnitType" /> 146 <element name="wavelength_max" minOccurs="0" maxOccurs="1" type="tns:floatUnitType" /> 147 <element name="wavelength_spread" minOccurs="0" maxOccurs="1" type="tns:floatUnitType" /> 148 </sequence> 149 <attribute name="name" type="string" use="optional" default="" /> 1046 150 </complexType> 1047 151 1048 152 <complexType name="SAScollimationType"> 1049 153 <sequence> 1050 <element name="length" minOccurs="0" maxOccurs="1" 1051 type="tns:floatUnitType"> 1052 <annotation> 1053 <documentation> 1054 <DT> 1055 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SAScollimation/cs:length 1056 </DT> 1057 <DD> 1058 [0..1] Amount/length of collimation inserted (on a SANS instrument). 1059 </DD> 1060 </documentation> 1061 <documentation> 1062 <DT> 1063 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SAScollimation/cs:length/@unit 1064 </DT> 1065 <DD> 1066 [1..1] length requires a unit to be 1067 specified. (See @unit for details.) 1068 </DD> 1069 </documentation> 1070 </annotation> 1071 </element> 154 <element name="length" minOccurs="0" maxOccurs="1" type="tns:floatUnitType" /> 1072 155 <element name="aperture" minOccurs="0" 1073 156 maxOccurs="unbounded"> 1074 <annotation>1075 <documentation>1076 <DT>1077 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SAScollimation/cs:aperture1078 </DT>1079 <DD>[0..inf] Slit or aperture.</DD>1080 </documentation>1081 </annotation>1082 157 <complexType> 1083 158 <sequence> 1084 <element name="size" minOccurs="0" maxOccurs="1" 1085 type="tns:positionType"> 1086 <annotation> 1087 <documentation> 1088 <DT> 1089 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SAScollimation/cs:aperture/cs:size 1090 </DT> 1091 <DD> 1092 [0..1] Opening dimensions of 1093 this aperture. 1094 </DD> 1095 </documentation> 1096 <documentation> 1097 <DT> 1098 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SAScollimation/cs:aperture/cs:size/@name 1099 </DT> 1100 <DD> 1101 [1..1] Optional attribute to 1102 clarify the name of this beam 1103 size. 1104 </DD> 1105 </documentation> 1106 <documentation> 1107 <DT> 1108 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SAScollimation/cs:aperture/cs:size/cs:x 1109 </DT> 1110 <DD> 1111 [0..1] Dimension of the aperture 1112 in X. 1113 </DD> 1114 </documentation> 1115 <documentation> 1116 <DT> 1117 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SAScollimation/cs:aperture/cs:size/cs:x/@unit 1118 </DT> 1119 <DD> 1120 [1..1] Required unit for the 1121 dimension of x. (See @unit for 1122 details.) 1123 </DD> 1124 </documentation> 1125 <documentation> 1126 <DT> 1127 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SAScollimation/cs:aperture/cs:size/cs:y 1128 </DT> 1129 <DD> 1130 [0..1] Dimension of the aperture 1131 in Y. 1132 </DD> 1133 </documentation> 1134 <documentation> 1135 <DT> 1136 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SAScollimation/cs:aperture/cs:size/cs:y/@unit 1137 </DT> 1138 <DD> 1139 [1..1] Required unit for the 1140 dimension of y. (See @unit for 1141 details.) 1142 </DD> 1143 </documentation> 1144 <documentation> 1145 <DT> 1146 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SAScollimation/cs:aperture/cs:size/cs:z 1147 </DT> 1148 <DD> 1149 [0..1] Dimension of the aperture 1150 in Z. While this is allowed by 1151 the standard, it does not make 1152 much sense for small-angle 1153 scattering. 1154 </DD> 1155 </documentation> 1156 <documentation> 1157 <DT> 1158 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SAScollimation/cs:aperture/cs:size/cs:z/@unit 1159 </DT> 1160 <DD> 1161 [1..1] Required unit for the 1162 dimension of z. (See @unit for 1163 details.) 1164 </DD> 1165 </documentation> 1166 </annotation> 1167 </element> 1168 <element name="distance" minOccurs="0" 1169 maxOccurs="1" type="tns:floatUnitType"> 1170 <annotation> 1171 <documentation> 1172 <DT> 1173 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SAScollimation/cs:aperture/cs:distance 1174 </DT> 1175 <DD> 1176 [0..1] Distance from this 1177 collimation element to the 1178 sample. 1179 </DD> 1180 </documentation> 1181 <documentation> 1182 <DT> 1183 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SAScollimation/cs:aperture/cs:distance/@unit 1184 </DT> 1185 <DD> 1186 [1..1] distance requires a unit 1187 to be specified. (See @unit for 1188 details.) 1189 </DD> 1190 </documentation> 1191 </annotation> 1192 </element> 159 <element name="size" minOccurs="0" maxOccurs="1" type="tns:positionType" /> 160 <element name="distance" minOccurs="0" maxOccurs="1" type="tns:floatUnitType" /> 1193 161 </sequence> 1194 <attribute name="name" type="string" 1195 use="optional"> 1196 <annotation> 1197 <documentation> 1198 <DT> 1199 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SAScollimation/cs:aperture/@name 1200 </DT> 1201 <DD> 1202 [0..1] Optional name for this 1203 aperture. 1204 </DD> 1205 </documentation> 1206 </annotation> 1207 </attribute> 1208 <attribute name="type" type="string" 1209 use="optional"> 1210 <annotation> 1211 <documentation> 1212 <DT> 1213 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SAScollimation/cs:aperture/@type 1214 </DT> 1215 <DD> 1216 [1..1] Optional text to describe the 1217 type aperture (pinhole, 4-blade 1218 slit, Soller slit, ...). 1219 </DD> 1220 </documentation> 1221 </annotation> 1222 </attribute> 162 <attribute name="name" type="string" use="optional" default="" /> 163 <attribute name="type" type="string" use="optional" default="" /> 1223 164 </complexType> 1224 165 </element> 1225 166 </sequence> 1226 <attribute name="name" type="string" use="optional"> 1227 <annotation> 1228 <documentation> 1229 <DT> 1230 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SAScollimation/@name 1231 </DT> 1232 <DD> 1233 [0..1] Optional text to describe this 1234 collimation element. 1235 </DD> 1236 </documentation> 1237 </annotation> 1238 </attribute> 167 <attribute name="name" type="string" use="optional" default="" /> 1239 168 </complexType> 1240 169 1241 170 <complexType name="SASdetectorType"> 1242 171 <sequence> 1243 <element name="name" minOccurs="1" maxOccurs="1" 1244 type="string"> 1245 <annotation> 1246 <documentation> 1247 <DT> 1248 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:name 1249 </DT> 1250 <DD>[1..1] Name of the detector.</DD> 1251 </documentation> 1252 </annotation> 1253 </element> 1254 <element name="SDD" minOccurs="0" maxOccurs="1" 1255 type="tns:floatUnitType"> 1256 <annotation> 1257 <documentation> 1258 <DT> 1259 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:SDD 1260 </DT> 1261 <DD> 1262 [0..1] Distance between sample and detector. 1263 Must specify the unit as an attribute. 1264 </DD> 1265 </documentation> 1266 <documentation> 1267 <DT> 1268 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:SDD/@unit 1269 </DT> 1270 <DD> 1271 [1..1] Required unit for SDD. (See @unit for 1272 details.) 1273 </DD> 1274 </documentation> 1275 </annotation> 1276 </element> 1277 <element name="offset" minOccurs="0" maxOccurs="1" 1278 type="tns:positionType"> 1279 <annotation> 1280 <documentation> 1281 <DT> 1282 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:offset 1283 </DT> 1284 <DD> 1285 [0..1] Offset of the detector position in X, 1286 Y, and Z. 1287 </DD> 1288 </documentation> 1289 <documentation> 1290 <DT> 1291 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:offset/@name 1292 </DT> 1293 <DD> 1294 Optional attribute to clarify the name of 1295 this beam size. 1296 </DD> 1297 </documentation> 1298 <documentation> 1299 <DT> 1300 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:offset/cs:x 1301 </DT> 1302 <DD> 1303 [0..1] Offset of the detector position in X. 1304 </DD> 1305 </documentation> 1306 <documentation> 1307 <DT> 1308 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:offset/cs:x/@unit 1309 </DT> 1310 <DD> 1311 [1..1] Required unit for the dimension of x. 1312 (See @unit for details.) 1313 </DD> 1314 </documentation> 1315 <documentation> 1316 <DT> 1317 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:offset/cs:y 1318 </DT> 1319 <DD> 1320 [0..1] Offset of the detector position in Y. 1321 </DD> 1322 </documentation> 1323 <documentation> 1324 <DT> 1325 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:offset/cs:y/@unit 1326 </DT> 1327 <DD> 1328 [1..1] Required unit for the dimension of y. 1329 (See @unit for details.) 1330 </DD> 1331 </documentation> 1332 <documentation> 1333 <DT> 1334 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:offset/cs:z 1335 </DT> 1336 <DD> 1337 [0..1] Offset of the detector position in Z. 1338 While this is allowed by the standard, it 1339 does not make much sense for small-angle 1340 scattering. 1341 </DD> 1342 </documentation> 1343 <documentation> 1344 <DT> 1345 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:offset/cs:z/@unit 1346 </DT> 1347 <DD> 1348 [1..1] Required unit for the dimension of z. 1349 (See @unit for details.) 1350 </DD> 1351 </documentation> 1352 </annotation> 1353 </element> 1354 <element name="orientation" minOccurs="0" maxOccurs="1" 1355 type="tns:orientationType"> 1356 <annotation> 1357 <documentation> 1358 <DT> 1359 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:orientation 1360 </DT> 1361 <DD> 1362 [0..1] Orientation (rotation) of the 1363 detector in roll, pitch, and yaw. Must 1364 specify the unit as an attribute. 1365 </DD> 1366 </documentation> 1367 <documentation> 1368 <DT> 1369 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:orientation/@name 1370 </DT> 1371 <DD> 1372 Optional attribute to name this orientation. 1373 </DD> 1374 </documentation> 1375 <documentation> 1376 <DT> 1377 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:orientation/cs:roll 1378 </DT> 1379 <DD> 1380 [0..1] Optional rotation of the detector 1381 about the Z axis (roll). 1382 </DD> 1383 </documentation> 1384 <documentation> 1385 <DT> 1386 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:orientation/cs:roll/@unit 1387 </DT> 1388 <DD> 1389 [1..1] Required unit for the dimension of 1390 roll. (See @unit for details.) 1391 </DD> 1392 </documentation> 1393 <documentation> 1394 <DT> 1395 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:orientation/cs:pitch 1396 </DT> 1397 <DD> 1398 [0..1] Optional rotation of the detector 1399 about the X axis (pitch). 1400 </DD> 1401 </documentation> 1402 <documentation> 1403 <DT> 1404 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:orientation/cs:pitch/@unit 1405 </DT> 1406 <DD> 1407 [1..1] Required unit for the dimension of 1408 pitch. (See @unit for details.) 1409 </DD> 1410 </documentation> 1411 <documentation> 1412 <DT> 1413 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:orientation/cs:yaw 1414 </DT> 1415 <DD> 1416 [0..1] Optional rotation of the detector 1417 about the Y axis (yaw). 1418 </DD> 1419 </documentation> 1420 <documentation> 1421 <DT> 1422 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:orientation/cs:yaw/@unit 1423 </DT> 1424 <DD> 1425 [1..1] Required unit for the dimension of 1426 yaw. (See @unit for details.) 1427 </DD> 1428 </documentation> 1429 </annotation> 1430 </element> 1431 <element name="beam_center" minOccurs="0" maxOccurs="1" 1432 type="tns:positionType"> 1433 <annotation> 1434 <documentation> 1435 <DT> 1436 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:beam_center 1437 </DT> 1438 <DD> 1439 [0..1] Center of the beam on the detector in 1440 X and Y. 1441 </DD> 1442 </documentation> 1443 <documentation> 1444 <DT> 1445 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:beam_center/@name 1446 </DT> 1447 <DD> 1448 Optional attribute to clarify the name of 1449 this detector beam center. 1450 </DD> 1451 </documentation> 1452 <documentation> 1453 <DT> 1454 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:beam_center/cs:x 1455 </DT> 1456 <DD> 1457 [0..1] Center of the beam on the detector in 1458 X. 1459 </DD> 1460 </documentation> 1461 <documentation> 1462 <DT> 1463 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:beam_center/cs:x/@unit 1464 </DT> 1465 <DD> 1466 [1..1] Required unit for the dimension of x. 1467 (See @unit for details.) 1468 </DD> 1469 </documentation> 1470 <documentation> 1471 <DT> 1472 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:beam_center/cs:y 1473 </DT> 1474 <DD> 1475 [0..1] Center of the beam on the detector in 1476 Y. 1477 </DD> 1478 </documentation> 1479 <documentation> 1480 <DT> 1481 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:beam_center/cs:y/@unit 1482 </DT> 1483 <DD> 1484 [1..1] Required unit for the dimension of y. 1485 (See @unit for details.) 1486 </DD> 1487 </documentation> 1488 <documentation> 1489 <DT> 1490 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:beam_center/cs:z 1491 </DT> 1492 <DD> 1493 [0..1] Center of the beam on the detector in 1494 Z. While this is allowed by the standard, it 1495 does not make much sense for small-angle 1496 scattering. 1497 </DD> 1498 </documentation> 1499 <documentation> 1500 <DT> 1501 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:beam_center/cs:z/@unit 1502 </DT> 1503 <DD> 1504 [1..1] Required unit for the dimension of z. 1505 (See @unit for details.) 1506 </DD> 1507 </documentation> 1508 </annotation> 1509 </element> 1510 <element name="pixel_size" minOccurs="0" maxOccurs="1" 1511 type="tns:positionType"> 1512 <annotation> 1513 <documentation> 1514 <DT> 1515 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:pixel_size 1516 </DT> 1517 <DD> 1518 [0..1] Size of detector pixels in X and Y. 1519 </DD> 1520 </documentation> 1521 <documentation> 1522 <DT> 1523 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:pixel_size/@name 1524 </DT> 1525 <DD> 1526 Optional attribute to clarify the name of 1527 this detector pixel size. 1528 </DD> 1529 </documentation> 1530 <documentation> 1531 <DT> 1532 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:pixel_size/cs:x 1533 </DT> 1534 <DD>[0..1] Size of detector pixels in X.</DD> 1535 </documentation> 1536 <documentation> 1537 <DT> 1538 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:pixel_size/cs:x/@unit 1539 </DT> 1540 <DD> 1541 [1..1] Required unit for the dimension of x. 1542 (See @unit for details.) 1543 </DD> 1544 </documentation> 1545 <documentation> 1546 <DT> 1547 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:pixel_size/cs:y 1548 </DT> 1549 <DD>[0..1] Size of detector pixels in Y.</DD> 1550 </documentation> 1551 <documentation> 1552 <DT> 1553 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:pixel_size/cs:y/@unit 1554 </DT> 1555 <DD> 1556 [1..1] Required unit for the dimension of y. 1557 (See @unit for details.) 1558 </DD> 1559 </documentation> 1560 <documentation> 1561 <DT> 1562 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:pixel_size/cs:z 1563 </DT> 1564 <DD> 1565 [0..1] Size of detector pixels in Z. While 1566 this is allowed by the standard, it does not 1567 make much sense for small-angle scattering. 1568 </DD> 1569 </documentation> 1570 <documentation> 1571 <DT> 1572 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:pixel_size/cs:z/@unit 1573 </DT> 1574 <DD> 1575 [1..1] Required unit for the dimension of z. 1576 (See @unit for details.) 1577 </DD> 1578 </documentation> 1579 </annotation> 1580 </element> 1581 <element name="slit_length" minOccurs="0" maxOccurs="1" 1582 type="tns:floatUnitType"> 1583 <annotation> 1584 <documentation> 1585 <DT> 1586 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:slit_length 1587 </DT> 1588 <DD> 1589 [0..1] Slit length of the instrument for 1590 this detector. Must specify the unit as an 1591 attribute. 1592 </DD> 1593 </documentation> 1594 <documentation> 1595 <DT> 1596 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector/cs:slit_length/@unit 1597 </DT> 1598 <DD> 1599 [1..1] Required unit for the slit length. 1600 (See @unit for details.) 1601 </DD> 1602 </documentation> 1603 </annotation> 1604 </element> 172 <element name="name" minOccurs="1" maxOccurs="1" type="string" default=""/> 173 <element name="SDD" minOccurs="0" maxOccurs="1" type="tns:floatUnitType" /> 174 <element name="offset" minOccurs="0" maxOccurs="1" type="tns:positionType" /> 175 <element name="orientation" minOccurs="0" maxOccurs="1" type="tns:orientationType" /> 176 <element name="beam_center" minOccurs="0" maxOccurs="1" type="tns:positionType" /> 177 <element name="pixel_size" minOccurs="0" maxOccurs="1" type="tns:positionType" /> 178 <element name="slit_length" minOccurs="0" maxOccurs="1" type="tns:floatUnitType" /> 1605 179 </sequence> 1606 180 </complexType> … … 1608 182 <complexType name="SASinstrumentType"> 1609 183 <sequence> 1610 <element name="name" type="string" minOccurs="1" 1611 maxOccurs="1"> 1612 <annotation> 1613 <documentation> 1614 <DT> 1615 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:name 1616 </DT> 1617 <DD>[1..1] Name of the instrument.</DD> 1618 </documentation> 1619 </annotation> 1620 </element> 1621 <element name="SASsource" type="tns:SASsourceType" minOccurs="1" maxOccurs="1"> 1622 <annotation> 1623 <documentation> 1624 <DT> 1625 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASsource 1626 </DT> 1627 <DD> 1628 [1..1] Description of the source of the 1629 radiation. 1630 </DD> 1631 </documentation> 1632 </annotation> 1633 </element> 1634 <element name="SAScollimation" 1635 type="tns:SAScollimationType" minOccurs="1" maxOccurs="unbounded"> 1636 <annotation> 1637 <documentation> 1638 <DT> 1639 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SAScollimation 1640 </DT> 1641 <DD> 1642 [1..inf] Description of the instrument 1643 collimation. 1644 </DD> 1645 </documentation> 1646 </annotation> 1647 </element> 1648 <element name="SASdetector" type="tns:SASdetectorType" 1649 minOccurs="1" maxOccurs="unbounded"> 1650 <annotation> 1651 <documentation> 1652 <DT> 1653 /cs:SASroot/cs:SASentry/cs:SASinstrument/cs:SASdetector 1654 </DT> 1655 <DD> 1656 [1..inf] Description of a single or 1657 composite detector. 1658 </DD> 1659 </documentation> 1660 </annotation> 1661 </element> 184 <element name="name" type="string" minOccurs="1" maxOccurs="1" default="" /> 185 <element name="SASsource" type="tns:SASsourceType" minOccurs="1" maxOccurs="1" /> 186 <element name="SAScollimation" type="tns:SAScollimationType" minOccurs="1" maxOccurs="unbounded" /> 187 <element name="SASdetector" type="tns:SASdetectorType" minOccurs="1" maxOccurs="unbounded" /> 1662 188 </sequence> 1663 189 </complexType> … … 1667 193 <complexType name="SASentryType"> 1668 194 <sequence> 1669 <element name="Title" minOccurs="1" maxOccurs="1" 1670 type="string"> 1671 <annotation> 1672 <documentation> 1673 <DT>/cs:SASroot/cs:SASentry/cs:Title</DT> 1674 <DD>[1..1] Title of this SASentry.</DD> 1675 </documentation> 1676 </annotation> 1677 </element> 195 <element name="Title" minOccurs="1" maxOccurs="1" type="string" /> 1678 196 <element name="Run" minOccurs="1" maxOccurs="unbounded"> 1679 197 <xsd:complexType> 1680 <annotation>1681 <documentation>1682 <DT>/cs:SASroot/cs:SASentry/cs:Run</DT>1683 <DD>1684 [1..inf] Run identification for this1685 SASentry. For many facilities, this is1686 an integer. Use multiple instances of1687 Run as needed. Note: How to correlate1688 this with SASinstrument configurations1689 has not yet been defined.1690 </DD>1691 </documentation>1692 </annotation>1693 198 <simpleContent> 1694 199 <extension base="string"> 1695 <attribute name="name" type="string" 1696 use="optional"> 1697 <annotation> 1698 <documentation> 1699 <DT> 1700 /cs:SASroot/cs:SASentry/cs:Run/@name 1701 </DT> 1702 <DD> 1703 [0..1] Optional string 1704 attribute to identify this 1705 particular SASrun. Use this 1706 to associate (correlate) 1707 multiple SASdata elements 1708 with Run elements. (Give 1709 them the same name.) 1710 </DD> 1711 </documentation> 1712 </annotation> 1713 </attribute> 200 <attribute name="name" type="string" use="optional" default="" /> 1714 201 </extension> 1715 202 </simpleContent> 1716 203 </xsd:complexType> 1717 204 </element> 1718 <xsd:any minOccurs="0" maxOccurs="unbounded" 1719 processContents="skip" namespace="##other"> 205 <xsd:any minOccurs="0" maxOccurs="unbounded" processContents="skip" namespace="##other" /> 206 <element name="SASdata" minOccurs="1" maxOccurs="unbounded" type="tns:SASdataType" /> 207 <xsd:any minOccurs="0" maxOccurs="unbounded" processContents="skip" namespace="##other"> 208 <!-- Is a second *any* element needed here? --> 1720 209 <annotation> 1721 <documentation> 1722 <DT> 1723 /cs:SASroot/cs:SASentry/_any_; 1724 </DT> 1725 <DD> 1726 [0..inf] Provision at this point for any 1727 element to be entered that is not part of 1728 the canSAS standard. Use a 1729 '''xmlns="some-simple-identification-string"''' 1730 to identify that this is a ''foreign 1731 element.'' 1732 </DD> 1733 </documentation> 210 <appinfo> 211 <!-- Remap collision of Any when using JAXB --> 212 <jaxb:property name="SASentryAny2" /> 213 </appinfo> 1734 214 </annotation> 1735 215 </xsd:any> 1736 <element name="SASdata" minOccurs="1" maxOccurs="unbounded" 1737 type="tns:SASdataType"> 1738 <annotation> 1739 <documentation> 1740 <DT>/cs:SASroot/cs:SASentry/cs:SASdata</DT> 1741 <DD> 1742 [1..inf] Reduced 1-D SAS data for this 1743 SASentry. Use multiple SASdata elements to 1744 represent multiple frames. Use this to 1745 associate (correlate) multiple SASdata 1746 elements with Run elements. (Give them the 1747 same name.) 1748 </DD> 1749 </documentation> 1750 </annotation> 1751 </element> 1752 <xsd:any minOccurs="0" maxOccurs="unbounded" 1753 processContents="skip" namespace="##other"> 1754 <annotation> 1755 <documentation> 1756 <DT> 1757 /cs:SASroot/cs:SASentry/_any_; 1758 </DT> 1759 <DD> 1760 [0..inf] Provision at this point for any 1761 element to be entered that is not part of 1762 the canSAS standard. Use a 1763 '''xmlns="some-simple-identification-string"''' 1764 to identify that this is a ''foreign 1765 element.'' 1766 </DD> 1767 </documentation> 1768 </annotation> 1769 </xsd:any> 1770 <element name="SASsample" type="tns:SASsampleType"> 1771 <annotation> 1772 <documentation> 1773 <DT>/cs:SASroot/cs:SASentry/cs:SASsample</DT> 1774 <DD>[] Description of the sample.</DD> 1775 </documentation> 1776 </annotation> 1777 </element> 1778 <element name="SASinstrument" type="tns:SASinstrumentType" 1779 minOccurs="1" maxOccurs="1"> 1780 <annotation> 1781 <documentation> 1782 <DT> 1783 /cs:SASroot/cs:SASentry/cs:SASinstrument 1784 </DT> 1785 <DD>[1..1] Description of the instrument.</DD> 1786 </documentation> 1787 </annotation> 1788 </element> 1789 <element name="SASprocess" type="tns:SASprocessType" 1790 minOccurs="0" maxOccurs="unbounded"> 1791 <annotation> 1792 <documentation> 1793 <DT>/cs:SASroot/cs:SASentry/cs:SASprocess</DT> 1794 <DD> 1795 [0..inf] Description of a processing or 1796 analysis step. 1797 </DD> 1798 </documentation> 1799 </annotation> 1800 </element> 1801 <element name="SASnote" minOccurs="1" 1802 maxOccurs="unbounded"> 1803 <!-- this is a free-form element. 216 <element name="SASsample" type="tns:SASsampleType" /> 217 <element name="SASinstrument" type="tns:SASinstrumentType" minOccurs="1" maxOccurs="1" /> 218 <element name="SASprocess" type="tns:SASprocessType" minOccurs="0" maxOccurs="unbounded" /> 219 <element name="SASnote" minOccurs="1" maxOccurs="unbounded" /> 220 <!-- SASnote is a free-form element. 1804 221 Do not define any content for it or it will become restrictive. 1805 222 --> 1806 <annotation> 1807 <documentation> 1808 <DT>/cs:SASroot/cs:SASentry/cs:SASnote</DT> 1809 <DD> 1810 [1..] Free form description of anything not 1811 covered by other elements. 1812 </DD> 1813 </documentation> 1814 </annotation> 1815 </element> 1816 </sequence> 1817 <attribute name="name" type="string" use="optional"> 1818 <annotation> 1819 <documentation> 1820 <DT>/cs:SASroot/cs:SASentry/@name</DT> 1821 <DD> 1822 [0..1] Optional string attribute to identify 1823 this particular SASentry. 1824 </DD> 1825 </documentation> 1826 </annotation> 1827 </attribute> 223 </sequence> 224 <attribute name="name" type="string" use="optional" default="" /> 1828 225 </complexType> 1829 226 … … 1832 229 <complexType name="SASrootType"> 1833 230 <sequence> 1834 <element name="SASentry" minOccurs="1" maxOccurs="unbounded" 1835 type="tns:SASentryType"> 1836 <annotation> 1837 <documentation> 1838 <DT>/cs:SASroot/cs:SASentry</DT> 1839 <DD> 1840 [1..] A single SAS scan is reported in a 1841 SASentry. A SASentry can use the optional 1842 "name" attribute to provide a string for 1843 this SASentry. Use of this string is not 1844 defined by this standard. 1845 </DD> 1846 </documentation> 1847 </annotation> 1848 </element> 1849 </sequence> 1850 <attribute name="version" type="string" fixed="1.0" 1851 use="required"> 1852 <annotation> 1853 <documentation> 1854 <DT>/cs:SASroot/@version</DT> 1855 <DD> 1856 [1..1] version="1.0" Required attribute to 1857 indicate the version of the standard to which 1858 this XML document is encoded. 1859 </DD> 1860 </documentation> 1861 </annotation> 1862 </attribute> 1863 </complexType> 1864 1865 <element name="SASroot" type="tns:SASrootType"> 1866 <annotation> 1867 <documentation> 1868 <DT>/cs:SASroot</DT> 1869 <DD> 1870 [1..1] The canSAS reduced 1-D SAS data will be in 1871 the SASroot database. This is similar to NXroot used 1872 by NeXus. 1873 </DD> 1874 </documentation> 1875 </annotation> 1876 </element> 231 <element name="SASentry" minOccurs="1" maxOccurs="unbounded" type="tns:SASentryType" /> 232 </sequence> 233 <attribute name="version" type="string" fixed="1.0" use="required" /> 234 </complexType> 235 236 <element name="SASroot" type="tns:SASrootType" /> 1877 237 1878 238 </schema>
Note: See TracChangeset
for help on using the changeset viewer.