1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184
|
<html dir="ltr"><head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<META HTTP-EQUIV="assetid" CONTENT="HV01051050"><META NAME="lcid" CONTENT="1033"><title>XML Schema for the <ExtendedAttribute> Element</title><link rel="stylesheet" type="text/css" href="office10.css"><script type="text/javascript" language="Javascript" src="ExpCollapse.js"></script><script type="text/javascript" language="JavaScript" src="inline.js"></script></head><body><p id="ExpandAllLine" class="ExpFav"><a href="#" onclick="ExpandAll()" onkeypress="ExpandAll()" class="DropDown"><img id="picHeader" border="0" src="expandtri.gif" alt="Show All"><span id="ExpandAll">Show All</span></a></p><h1>XML Schema for the <ExtendedAttribute> Element</h1><p>The following shows the <ExtendedAttribute> element schema for Microsoft Office Project 2003. This is a child of the <Project> schema.</p>
<p><a href="#" class="DropDown" onclick="Outline2()" onkeypress="Outline2()"><img border="0" src="blueup.gif" alt="Show">See Also</a></p>
<div id="ExpCol" class="collapsed" border="0">
<a href="pjxml_schema.htm" id="HV01051088" lcid=" ">Overview of XML Schema for Project</a><br>
<a href="pjxml_structure.htm" id="HV01051032" lcid=" ">Overview of XML Structure for Project</a><br>
<a href="pjxml_schProject.htm" id="HV01051022" lcid=" ">XML Schema for the <Project> Element</a><br>
<a href="pjxml_structExtendedAttribute.htm" id="HV01051052" lcid=" ">XML Structure for the <ExtendedAttribute> Element</a><br>
<a href="pjxml_elemExtendedAttributes.htm" id="HV01056712" lcid=" "><ExtendedAttributes> Element</a><br>
</div>
<pre><code><?xml version="1.0"?>
...
<!-- @ExtendedAttribute schema -->
<xsd:element name="ExtendedAttributes" minOccurs="0">
<xsd:annotation>
<xsd:documentation>The collection of extended attribute (custom field) definitions
associated with the project.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="ExtendedAttribute" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Each of the individual entries in the extended attributes definition
collection. There are no limits to the number of children that may appear, but project
will only understand Flag1-Flag10, etc. This must appear once in each ExtendedAttributes
collection.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="FieldID" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>This corresponds to the PID of the custom field.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="FieldName" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>The name of the custom field.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Alias" minOccurs="0">
<xsd:annotation>
<xsd:documentation>The alias of the custom field</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="50" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="PhoneticAlias" minOccurs="0">
<xsd:annotation>
<xsd:documentation>The phonetic pronunciation of the alias of the
custom field</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="50" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="RollupType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>How rollups are calculated. Values are: 0=Maximum
(OR for flag fields), 1=Minimum (AND for flag fields), 2=Count all, 3=Sum,
4=Average, 5=Average First Sublevel, 6=Count First Sublevel, 7=Count
Nonsummaries</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:enumeration value="4" />
<xsd:enumeration value="5" />
<xsd:enumeration value="6" />
<xsd:enumeration value="7" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="CalculationType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Whether rollups are calculated for task and group summary rows.
Values are: 0=None, 1=Rollup, 2=Calculation</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:integer">
<xsd:enumeration value="0" />
<xsd:enumeration value="1" />
<xsd:enumeration value="2" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Formula" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>The formula that Microsoft Project uses to populate the
custom task field.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="RestrictValues" type="xsd:boolean" minOccurs="0">
<xsd:annotation>
<xsd:documentation>If RestrictValues=True then only values in the list are
allowed in the file</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="ValuelistSortOrder" minOccurs="0">
<xsd:annotation>
<xsd:documentation>How value lists are sorted. Values are:
0=Descending, 1=Ascending</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:integer">
<xsd:enumeration value="0" />
<xsd:enumeration value="1" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="AppendNewValues" type="xsd:boolean" minOccurs="0">
<xsd:annotation>
<xsd:documentation>If AppendNewValues=True then any new values added in a project
are automatically appended to the list.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Default" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>This points to the default value in the list.
Not present if no default is set.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="ValueList" minOccurs="0">
<xsd:annotation>
<xsd:documentation>When values of extended attributes are specified as
properties of elements in the schema, they may either be specified by values
or by references to the values contained in this list. Applications may
assume ordering of the list by ordering specified here.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Value" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>The values that make up the value list.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:all>
<xsd:element name="ID" type="xsd:integer">
<xsd:annotation>
<xsd:documentation>Unique ID of value across
the project.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Value" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>The actual value.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Description" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>The description of the value
in the list.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:all>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</code></pre><center><a href="XMLSchemaCopyright_HV01147162.htm">©2003-2004 Microsoft Corporation. All rights reserved.</a>
Permission to copy, display and distribute this document is available at: <a
href="http://r.office.microsoft.com/r/rlidAWSContentRedir?AssetID=XT010988631033&CTT=11&Origin=HV011232471033"
target="_new">http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp</a></center></body></html>
|