ProjectController.py
changeset 1413 dd89016a5028
parent 1407 cf3d2b53dd68
child 1424 0f2ced10db48
equal deleted inserted replaced
1412:50192dd2f5ff 1413:dd89016a5028
    85               <xsd:complexType>
    85               <xsd:complexType>
    86                 <xsd:choice minOccurs="0">
    86                 <xsd:choice minOccurs="0">
    87                 """+targets.GetTargetChoices()+"""
    87                 """+targets.GetTargetChoices()+"""
    88                 </xsd:choice>
    88                 </xsd:choice>
    89               </xsd:complexType>
    89               </xsd:complexType>
    90             </xsd:element>
    90             </xsd:element>"""+(("""
    91             <xsd:element name="Libraries" minOccurs="0">"""+(("""
    91             <xsd:element name="Libraries" minOccurs="0">
    92               <xsd:complexType>
    92               <xsd:complexType>
    93               """+"\n".join(['<xsd:attribute name='+
    93               """+"\n".join(['<xsd:attribute name='+
    94                              '"Enable_'+ libname + '_Library" '+
    94                              '"Enable_'+ libname + '_Library" '+
    95                              'type="xsd:boolean" use="optional" default="true"/>'
    95                              'type="xsd:boolean" use="optional" default="true"/>'
    96                              for libname,lib in features.libraries])+"""
    96                              for libname,lib in features.libraries])+"""
    97               </xsd:complexType>""") if len(features.libraries)>0 else '<xsd:complexType/>') + """
    97               </xsd:complexType>
    98             </xsd:element>
    98             </xsd:element>""") if len(features.libraries)>0 else '') + """
    99           </xsd:sequence>
    99           </xsd:sequence>
   100           <xsd:attribute name="URI_location" type="xsd:string" use="optional" default=""/>
   100           <xsd:attribute name="URI_location" type="xsd:string" use="optional" default=""/>
   101           <xsd:attribute name="Disable_Extensions" type="xsd:boolean" use="optional" default="false"/>
   101           <xsd:attribute name="Disable_Extensions" type="xsd:boolean" use="optional" default="false"/>
   102         </xsd:complexType>
   102         </xsd:complexType>
   103       </xsd:element>
   103       </xsd:element>