home *** CD-ROM | disk | FTP | other *** search
/ Mundo do CD-ROM 119 / cdrom119.iso / internet / wwind / World_Wind_1.3.5_Full.exe / Config / WorldXmlDescriptor.xsd < prev   
Encoding:
Extensible Markup Language  |  2006-05-01  |  3.8 KB  |  94 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- edited with XMLSPY v2004 rel. 4 U (http://www.xmlspy.com) by Patrick Hogan (private) -->
  3. <xs:schema elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  4.     <xs:element name="World">
  5.         <xs:annotation>
  6.             <xs:documentation>The root element contains WORLD nodes for which worldwindow adds to the list of available worlds</xs:documentation>
  7.         </xs:annotation>
  8.         <xs:complexType>
  9.             <xs:sequence minOccurs="0">
  10.                 <xs:element name="TerrainAccessor" type="TerrainAccessor" minOccurs="0" maxOccurs="unbounded"/>
  11.             </xs:sequence>
  12.             <xs:attribute name="Name" type="xs:string" use="required"/>
  13.             <xs:attribute name="EquatorialRadius" type="xs:double" use="required"/>
  14.             <xs:attribute name="LayerDirectory" type="xs:string" use="required"/>
  15.         </xs:complexType>
  16.     </xs:element>
  17.     <xs:complexType name="DownloadableWMS">
  18.         <xs:sequence>
  19.             <xs:element name="Username" type="xs:string" minOccurs="0"/>
  20.             <xs:element name="Password" type="xs:string" minOccurs="0"/>
  21.             <xs:element name="ServerGetMapUrl" type="xs:string"/>
  22.             <xs:element name="Version" type="xs:string"/>
  23.             <xs:element name="ImageFormat" type="xs:string"/>
  24.             <xs:element name="SamplesPerTile" type="xs:unsignedInt"/>
  25.             <xs:element name="WMSLayerName" type="xs:string"/>
  26.             <xs:element name="WMSLayerStyle" type="xs:string" minOccurs="0"/>
  27.             <xs:element name="UseTransparency" type="xs:boolean"/>
  28.             <xs:element name="BoundingBoxOverlap" minOccurs="0">
  29.                 <xs:simpleType>
  30.                     <xs:restriction base="xs:double">
  31.                         <xs:minInclusive value="0"/>
  32.                     </xs:restriction>
  33.                 </xs:simpleType>
  34.             </xs:element>
  35.             <xs:element name="ServerLogoFilePath" type="xs:string" minOccurs="0"/>
  36.         </xs:sequence>
  37.     </xs:complexType>
  38.     <xs:complexType name="LatLonBoundingBox">
  39.         <xs:sequence>
  40.             <xs:element name="North" type="LatitudeCoordinate"/>
  41.             <xs:element name="South" type="LatitudeCoordinate"/>
  42.             <xs:element name="West" type="LongitudeCoordinate"/>
  43.             <xs:element name="East" type="LongitudeCoordinate"/>
  44.         </xs:sequence>
  45.     </xs:complexType>
  46.     <xs:complexType name="LatitudeCoordinate">
  47.         <xs:sequence>
  48.             <xs:element name="Value">
  49.                 <xs:simpleType>
  50.                     <xs:restriction base="xs:double">
  51.                         <xs:minInclusive value="-90"/>
  52.                         <xs:maxInclusive value="90"/>
  53.                     </xs:restriction>
  54.                 </xs:simpleType>
  55.             </xs:element>
  56.         </xs:sequence>
  57.     </xs:complexType>
  58.     <xs:complexType name="LongitudeCoordinate">
  59.         <xs:sequence>
  60.             <xs:element name="Value">
  61.                 <xs:simpleType>
  62.                     <xs:restriction base="xs:double">
  63.                         <xs:minInclusive value="-180"/>
  64.                         <xs:maxInclusive value="180"/>
  65.                     </xs:restriction>
  66.                 </xs:simpleType>
  67.             </xs:element>
  68.         </xs:sequence>
  69.     </xs:complexType>
  70.     <xs:complexType name="TerrainAccessor">
  71.         <xs:sequence>
  72.             <xs:choice>
  73.                 <xs:element name="TerrainTileService" type="TerrainTileService"/>
  74.                 <xs:element name="DownloadableWMSSet" type="DownloadableWMS"/>
  75.             </xs:choice>
  76.             <xs:element name="LatLonBoundingBox" type="LatLonBoundingBox"/>
  77.             <xs:element name="HigherResolutionSubsets" type="TerrainAccessor" minOccurs="0" maxOccurs="unbounded"/>
  78.         </xs:sequence>
  79.         <xs:attribute name="Name" type="xs:string" use="required"/>
  80.     </xs:complexType>
  81.     <xs:complexType name="TerrainTileService">
  82.         <xs:sequence>
  83.             <xs:element name="ServerUrl" type="xs:string"/>
  84.             <xs:element name="DataSetName" type="xs:string"/>
  85.             <xs:element name="LevelZeroTileSizeDegrees" type="xs:double"/>
  86.             <xs:element name="NumberLevels" type="xs:unsignedInt"/>
  87.             <xs:element name="SamplesPerTile" type="xs:unsignedInt"/>
  88.             <xs:element name="DataFormat" type="xs:string"/>
  89.             <xs:element name="FileExtension" type="xs:string"/>
  90.             <xs:element name="CompressonType" type="xs:string" minOccurs="0"/>
  91.         </xs:sequence>
  92.     </xs:complexType>
  93. </xs:schema>
  94.