Share via


Metadata element

Important

Device metadata is deprecated and will be removed in a future release of Windows. For information about the replacement for this functionality, see Driver Package Container Metadata.

The Metadata element specifies the XML schemas that are referenced through the device metadata package.

Usage

<Metadata
  MetadataID = "xs:anyURI">
  text
</Metadata>

Attributes

Attribute Type Required Description
MetadataID xs:anyURI Yes Specifies the namespace of an XML schema that is referenced within the device metadata package.

Text value

The Uniform Resource Identifier (URI) of the namespace of a device metadata XML schema. The XML schema must be one of the schemas referenced within the device metadata package.

Child elements

There are no child elements.

Parent elements

Element Description
PackageStructure The PackageStructure element specifies the XML schemas which are referenced by 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:sequence>
</xs:complexType>

<xs:complexType name="MetadataType">
  <xs:simpleContent>
    <xs:extension base="xs:string">
      <xs:attribute name="MetadataID" type="xs:anyURI" use="required" />
    </xs:extension>
  </xs:simpleContent>
</xs:complexType>

Remarks

A minimum of three instances of the Metadata element must be specified within the PackageStructure element. Each instance must specify the namespace of one of the required XML schemas used to create a device metadata package:

The Metadata element is required.

See also