2.2.5.14 DependencyList Element
The DependencyList XML element is used to specify dependent policies, calendar events, schedules, and conditions. It is the root element of XML documents that are used in WSRM method parameters.
-
<xs:element name="DependencyList"> <xs:complexType> <xs:sequence> <xs:element name="PolicyName" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> <xs:element name="ScheduleName" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> <xs:element name="CalendarName" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> <xs:element name="Condition" minOccurs="0" maxOccurs="unbounded" nillable="true" > <xs:complexType name="Condition"> <xs:simpleContent> <xs:extension base="xs:string" > <xs:attribute name="Num" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element>
Child Elements
Element |
Type |
Description |
---|---|---|
PolicyName |
xs:string |
The name of the dependent policy. |
ScheduleName |
xs:string |
The name of the dependent schedule. |
CalendarName |
xs:string |
The name of the dependent calendar. |
Condition |
Condition |
The name of the dependent condition. |
Attributes
Name |
Type |
Description |
---|---|---|
Num |
xs:string |
If the Category of the dependent condition (section 2.2.2.12) is "Processor", "Memory", or "ANY", it is "0". Otherwise, if the Category of the dependent condition is "MSCS", it is the value of the Value attribute of the first <ConditionString> element of the dependent condition. |
The following schema shows the database column name and position specified in the type for the <Condition> element.
-
<?xml version="1.0"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" elementFormDefault="qualified"> <xs:element name="DependencyList"> <xs:complexType> <xs:sequence> <xs:element name="PolicyName" type="xs:string" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="ScheduleName" type="xs:string" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="CalendarName" type="xs:string" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="Condition" nillable="true" minOccurs="0" maxOccurs="unbounded"> <xs:complexType> <xs:simpleContent msdata:ColumnName="Condition_Text" msdata:Ordinal="1"> <xs:extension base="xs:string"> <xs:attribute name="Num" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> </xs:schema>
Additional XML data formats are specified in section 2.2.5.