BDG Scenario 3

LingoSchema.xml (hardware)

<?xml version="1.0" ?>
<Schema name="LingoSchema" xmlns="urn:schemas-microsoft-com:xml-data" 
       xmlns:dt="urn:schemas-microsoft-com:datatypes">
   <AttributeType name="CHARSET" dt:type="string" />      
   <AttributeType name="CODEPAGE" dt:type="string" />
   <AttributeType name="LID" dt:type="id" required="yes" />
   <AttributeType name="L_NAME" dt:type="string" />
   <AttributeType name="title" dt:type="string" />
   <AttributeType name="value" dt:type="string" />  
   <AttributeType name="maxLength" dt:type="int"/>  
   <AttributeType name="accessKey" dt:type="string" />
   <AttributeType name="alt" dt:type="string" />  
   <AttributeType name="src" dt:type="string" />  
   <AttributeType name="language" dt:type="string" />   
   <AttributeType name="placement" dt:type="enumeration" dt:values="innerHTML innerText beforeBegin afterBegin beforeEnd afterEnd"/>
   
   <ElementType name="SCRIPT" content="mixed" model="closed">
      <attribute type="LID" />
      <attribute type="language" />   
      <attribute type="placement" />
   </ElementType>
   
   <ElementType name="SCRIPTS" content="eltOnly" model="closed">
      <element type="SCRIPT" minOccurs="0" maxOccurs="*" />
   </ElementType>
   
   <ElementType name="TITLE" content="textOnly" model="closed"> 
      <attribute type="LID" />
      <attribute type="placement" />
   </ElementType>
   
   <ElementType name="TITLES" content="eltOnly" model="closed">
      <element type="TITLE" minOccurs="0" maxOccurs="*" />
   </ElementType>
   
   <ElementType name="INPUT" content="empty" model="closed">
      <attribute type="LID" />
      <attribute type="L_NAME" />      
      <attribute type="maxLength" />
      <attribute type="accessKey" />
      <attribute type="title" />
      <attribute type="value" />    
   </ElementType>
   
   <ElementType name="INPUTS" content="eltOnly" model="closed">
      <element type="INPUT" minOccurs="0" maxOccurs="*" />
   </ElementType>
   
   <ElementType name="TEXTAREA" content="empty" model="closed">
      <attribute type="LID" />
      <attribute type="title" />
      <attribute type="accessKey" />
      <attribute type="maxLength" />      
      <attribute type="placement" />
   </ElementType>
      
   <ElementType name="TEXTAREAS" content="eltOnly" model="closed">
      <element type="TEXTAREA" minOccurs="0" maxOccurs="*" />
   </ElementType>  
   
   <ElementType name="SELECT" content="empty" model="closed"> 
      <attribute type="LID" />
      <attribute type="accessKey" />      
   </ElementType>   
   
   <ElementType name="SELECTS" content="eltOnly" model="closed">
      <element type="SELECT" minOccurs="0" maxOccurs="*" />
   </ElementType>
   
   <ElementType name="OPTION" content="textOnly" model="closed"> 
      <attribute type="value" />
      <attribute type="LID" />
      <attribute type="placement" />
   </ElementType>   
   
   <ElementType name="OPTIONS" content="eltOnly" model="closed">
      <element type="OPTION" minOccurs="0" maxOccurs="*" />
   </ElementType>   
   
   <ElementType name="BUTTON" content="textOnly" model="closed"> 
      <attribute type="LID" />
      <attribute type="placement" />
   </ElementType>      
   
   <ElementType name="BUTTONS" content="eltOnly" model="closed">
      <element type="BUTTON" minOccurs="0" maxOccurs="*" />
   </ElementType> 
             
   <ElementType name="IMG" content="empty" model="closed"> 
      <attribute type="LID" />
      <attribute type="alt" />      
      <attribute type="src" />      
   </ElementType>    
   
   <ElementType name="IMGS" content="eltOnly" model="closed">
      <element type="IMG" minOccurs="0" maxOccurs="*" />
   </ElementType>   
   
   <ElementType name="A" content="textOnly" model="closed"> 
      <attribute type="LID" />
      <attribute type="placement" />
   </ElementType>    
   
   <ElementType name="AS" content="eltOnly" model="closed">
      <element type="A" minOccurs="0" maxOccurs="*" />
   </ElementType>     
   
   <ElementType name="U" content="textOnly" model="closed" />
   <ElementType name="BR" content="textOnly" model="closed" />
   
   <ElementType name="LABEL" content="mixed" model="closed"> 
      <attribute type="LID" />
      <attribute type="placement" />
      <attribute type="title" /> 
      <element type="U" minOccurs="0" maxOccurs="1" />
      <element type="BR" minOccurs="0" maxOccurs="1" />      
   </ElementType>  
   
   <ElementType name="LABELS" content="eltOnly" model="closed">
      <element type="LABEL" minOccurs="0" maxOccurs="*" />
   </ElementType>        
   
   <ElementType name="UIElement" content="eltOnly" model="open">
      <attribute type="CHARSET" />
      <attribute type="CODEPAGE" />
      <element type="LABELS" minOccurs="0" maxOccurs="1" />
      <element type="SCRIPTS" minOccurs="0" maxOccurs="1" />
      <element type="INPUTS" minOccurs="0" maxOccurs="1" />
      <element type="TEXTAREAS" minOccurs="0" maxOccurs="1" />
      <element type="SELECTS" minOccurs="0" maxOccurs="1" />
      <element type="OPTIONS" minOccurs="0" maxOccurs="1" />
      <element type="BUTTONS" minOccurs="0" maxOccurs="1" />
      <element type="AS" minOccurs="0" maxOccurs="1" />
      <element type="IMGS" minOccurs="0" maxOccurs="1" />
      <element type="TITLES" minOccurs="0" maxOccurs="1" />
   </ElementType>
   
</Schema>