ProjectController.py
changeset 769 502939f9c477
parent 768 fe47069f214c
child 770 131110501214
equal deleted inserted replaced
768:fe47069f214c 769:502939f9c477
    59               <xsd:complexType>
    59               <xsd:complexType>
    60                 <xsd:choice minOccurs="0">
    60                 <xsd:choice minOccurs="0">
    61                 """+targets.GetTargetChoices()+"""
    61                 """+targets.GetTargetChoices()+"""
    62                 </xsd:choice>
    62                 </xsd:choice>
    63               </xsd:complexType>
    63               </xsd:complexType>
    64             </xsd:element>
    64             </xsd:element>"""+(("""
    65             <xsd:element name="Libraries" minOccurs="0">
    65             <xsd:element name="Libraries" minOccurs="0">
    66               <xsd:complexType>
    66               <xsd:complexType>
    67               """+"\n".join(['<xsd:attribute name='+
    67               """+"\n".join(['<xsd:attribute name='+
    68                              '"Enable_'+ libname + '_Library" '+
    68                              '"Enable_'+ libname + '_Library" '+
    69                              'type="xsd:boolean" use="optional" default="true"/>' 
    69                              'type="xsd:boolean" use="optional" default="true"/>' 
    70                              for libname,lib in features.libraries])+"""
    70                              for libname,lib in features.libraries])+"""
    71               </xsd:complexType>
    71               </xsd:complexType>
    72             </xsd:element>
    72             </xsd:element>""") if len(features.libraries)>0 else '') + """
    73           </xsd:sequence>
    73           </xsd:sequence>
    74           <xsd:attribute name="URI_location" type="xsd:string" use="optional" default=""/>
    74           <xsd:attribute name="URI_location" type="xsd:string" use="optional" default=""/>
    75           <xsd:attribute name="Disable_Extensions" type="xsd:boolean" use="optional" default="false"/>
    75           <xsd:attribute name="Disable_Extensions" type="xsd:boolean" use="optional" default="false"/>
    76         </xsd:complexType>
    76         </xsd:complexType>
    77       </xsd:element>
    77       </xsd:element>