home *** CD-ROM | disk | FTP | other *** search
/ ftp.tcs3.com / ftp.tcs3.com.tar / ftp.tcs3.com / DRIVERS / Audio / Office2010 / InfoPath.en-us / InfLR.cab / FL_Microsoft_Build_xsd_116247_ENU____.3643236F_FC70_11D3_A536_0090278A1BB8 < prev    next >
Extensible Markup Language  |  2009-05-22  |  2KB  |  51 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema targetNamespace="http://schemas.microsoft.com/developer/msbuild/2003" 
  3. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  4. xmlns:msb="http://schemas.microsoft.com/developer/msbuild/2003"
  5. elementFormDefault="qualified">
  6.  
  7.     <!-- =================== IMPORT COMMON SCHEMA =========================== -->
  8.     <xs:include schemaLocation="MSBuild\Microsoft.Build.CommonTypes.xsd"/>
  9.  
  10.     <!-- ========= ADD CUSTOM ITEMS, PROPERTIES, AND TASKS BELOW ======= -->
  11.     <!-- Note that these will be in the msbuild namespace. A future version of
  12.         msbuild may require that custom itemtypes, properties, and tasks be in a 
  13.         custom namespace, but currently msbuild only supports the msbuild namespace. -->
  14.     
  15.     <!-- example custom itemtype with particular meta-data required-->
  16.     <!--<xs:element name="MyItem" substitutionGroup="msb:Item">
  17.         <xs:complexType>
  18.             <xs:complexContent>
  19.                 <xs:extension base="msb:SimpleItemType">
  20.                     <xs:sequence maxOccurs="1">
  21.                         <xs:choice>
  22.                             <xs:element name="MyMetaData" type="xs:string"/>
  23.                         </xs:choice>
  24.                     </xs:sequence>
  25.                 </xs:extension>
  26.             </xs:complexContent>
  27.         </xs:complexType>
  28.     </xs:element>-->
  29.     
  30.     <!-- Example custom itemtype with NO meta-data -->
  31.     <!--<xs:element name="MySimpleItem" type="msb:SimpleItemType" substitutionGroup="msb:Item"/>-->
  32.     
  33.     <!-- Example custom itemtype with ANY meta-data -->
  34.     <!--<xs:element name="MyFlexibleItem" type="msb:GenericItemType" substitutionGroup="msb:Item"/>-->
  35.  
  36.     <!-- example custom property that allows string content only-->
  37.     <!--<xs:element name="MySimpleProperty" type="msb:StringPropertyType" substitutionGroup="msb:Property"/>-->
  38.  
  39.     <!-- example custom task with single required parameter-->
  40.     <!--<xs:element name="MyTask" substitutionGroup="msb:Task">
  41.         <xs:complexType>
  42.             <xs:complexContent>
  43.                 <xs:extension base="msb:TaskType">
  44.                     <xs:attribute name="MyParameter" type="xs:boolean" use="required"/>
  45.                 </xs:extension>
  46.             </xs:complexContent>
  47.         </xs:complexType>
  48.     </xs:element>-->
  49.     
  50. </xs:schema>
  51.