Show All

# XML Schema for the <WBSMask> Element

The following shows the <WBSMask> element schema for Microsoft Office Project 2003. This is a child of the <Project> schema.

See Also

Overview of XML Schema for Project
Overview of XML Structure for Project
XML Schema for the <Project> Element
XML Structure for the <WBSMask> Element
<WBSMasks> Element

    <?xml version="1.0"?>
       ...

    <!-- @WBSMasks 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 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>

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp