PackageStructure element
The PackageStructure element specifies the XML schemas that are referenced by the device metadata package. Each XML schema is specified through the Metadata element.
Usage
<PackageStructure>
textchild elements
</PackageStructure>
Attributes
There are no attributes.
Text value
Three or more Metadata elements.
Child elements
Element | Description |
---|---|
The Metadata element specifies the XML schemas that are referenced through the device metadata package. |
Child element sequence
Metadata
Parent elements
Element | Description |
---|---|
The PackageInfo element is the parent element of the PackageInfo XML schema. The child elements of the PackageInfo element specify the attributes of the device metadata package. |
XSD
<xs:element name="PackageStructure" type="tns:PackageStructureType" />
<xs:complexType name="PackageStructureType">
<xs:sequence>
<xs:element name="Metadata" type="tns:MetadataType" minOccurs="3" maxOccurs="unbounded" />
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
Remarks
A minimum of three instances of the Metadata element must be specified within the PackageStructure element. Each instance must specify one of the required XML schemas that are used to create a device metadata package:
The PackageStructure element is required.
Examples
The following is an example of the PackageStructure element:
<PackageStructure>
<Metadata MetadataID="https://schemas.microsoft.com/windows/DeviceMetadata/PackageInfo/2007/11">PackageInfo.xml</Metadata>
<Metadata MetadataID="https://schemas.microsoft.com/windows/DeviceMetadata/DeviceInfo/2007/11/">DeviceInformation</Metadata>
<Metadata MetadataID="https://schemas.microsoft.com/windows/DeviceMetadata/WindowsInfo/2007/11/">WindowsInformation
</Metadata>
</PackageStructure>
See also