WBSMasks 元素 XML 架构
下面显示了定义 WBSMasks 元素的 Microsoft Office Project 2007 XML 数据交换架构 (mspdi_pj12.xsd) 部分。
Project 2007 SDK 下载中包含完整的 Project XML 数据交换架构。 有关 Project 2007 SDK 下载的链接,请参阅 欢迎使用 Microsoft Office Project 2007 SDK。
WBSMasks 架构
<?xml version="1.0" encoding="utf-8"?>
. . .
<!-- @WBSMask schema -->
<xsd:element name="WBSMasks" minOccurs="0">
<xsd:annotation>
<xsd:documentation>The table of entries that define the outline code mask.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="VerifyUniqueCodes" type="xsd:boolean" default="false" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Whether work breakdown structure (WBS) codes are unique for new tasks.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="GenerateCodes" type="xsd:boolean" default="false" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Whether WBS codes are generated for new tasks.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Prefix" minOccurs="0">
<xsd:annotation>
<xsd:documentation>The prefix for all WBS codes.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="50" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="WBSMask" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>The WBS mask that is applied to all tasks in the project.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Level" type="xsd:integer">
<xsd:annotation>
<xsd:documentation>The level of the mask.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Type">
<xsd:annotation>
<xsd:documentation>The type of the node value. The values are: 0=Numbers, 1=Uppercase Letters, 2=Lowercase Letters, 3=Characters.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:integer">
<xsd:enumeration value="0" />
<xsd:enumeration value="1" />
<xsd:enumeration value="2" />
<xsd:enumeration value="3" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Length" type="xsd:string">
<xsd:annotation>
<xsd:documentation>The maximum length in characters. This element is omitted when length is "any".</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Separator" type="xsd:string">
<xsd:annotation>
<xsd:documentation>The separator character of the node.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>