configurationengine/source/plugins/common/ConeLegacyRulePlugin/legacyruleplugin/xsd/ruleml.xsd
changeset 3 e7e0ae78773e
equal deleted inserted replaced
2:87cfa131b535 3:e7e0ae78773e
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <xs:schema 
       
     3 	xmlns:xs="http://www.w3.org/2001/XMLSchema"
       
     4 	targetNamespace="http://www.s60.com/xml/ruleml/1"
       
     5 	xmlns:ruleml="http://www.s60.com/xml/ruleml/1"
       
     6 	elementFormDefault="qualified">
       
     7 
       
     8     <xs:element name="ruleml">
       
     9         <xs:annotation>
       
    10             <xs:documentation>
       
    11                 RuleML v1 implementation for specifying rules to execute.
       
    12             </xs:documentation>
       
    13         </xs:annotation>
       
    14         <xs:complexType>
       
    15             <xs:choice minOccurs="0" maxOccurs="unbounded">
       
    16                 <xs:element name="rule" type="xs:string">
       
    17                     <xs:annotation>
       
    18                         <xs:documentation>
       
    19                             <![CDATA[
       
    20                             <p>The rule element specifies a single rule to execute.</p><br/>
       
    21                             
       
    22                             <p>
       
    23                             For example:<br/>
       
    24                             <b>&lt;rule>MyFeature.MySetting1 == 'test' configures MyFeature.MySetting2 = '1'&lt;/rule></b><br/>
       
    25                             This would cause the value '1' to be assigned to the setting 'MyFeature.MySetting2'
       
    26                             if the value of the setting 'MyFeature.MySetting1' is 'test'.
       
    27                             </p>
       
    28                             ]]>
       
    29                         </xs:documentation>
       
    30                     </xs:annotation>
       
    31                 </xs:element>
       
    32             </xs:choice>
       
    33         </xs:complexType>
       
    34     </xs:element>
       
    35 </xs:schema>