Share via


MSPROV DTD Format

The Microsoft MSPROV document type definition (DTD) describes the configuration document that is passed between the provisioning source and the Microsoft® Windows® Mobile-based Smartphone or Windows Mobile-based Pocket PC device. It extends the PROV DTD as defined in the Wireless Application Protocol (WAP) Provisioning Content Specification, WAP-183-PROVCONT, Version 24-July-2001. Smartphone and Pocket PC support only Universal Transformation Format 8 (UTF-8) encoded provisioning XML.

In MSPROV DTD, the first entry under the top-level wap-provisioningdoc element is a characteristic element that references a specific Configuration Service Provider . Beneath this characteristic element, any number of characteristic elements can be used to perform, or limit the scope of, an operation. For example, the FileOperation Configuration Service Provider has characteristics that perform operations (such as copy and delete), and others that specify directories (such as type="\Windows"). Beneath the last characteristic element can be any number of parm elements.

The Microsoft MSPROV DTD format is as follows:

<!ELEMENT wap-provisioningdoc (characteristic*, characteristic-query*, nocharacteristic*, characteristic-query-error*, nocharacteristic-error*)>
<!ATTLIST wap-provisioningdoc
   version CDATA #IMPLIED
>
<!ELEMENT characteristic (characteristic*, parm*, noparm*, nocharacteristic*,characteristic-query*, parm-query*, characteristic-error*, parm-error*, noparm-error*, nocharacteristic-error*, characteristic-query-error*, parm-query-error*)>
<!ATTLIST characteristic
   type CDATA #REQUIRED 
   translation CDATA #IMPLIED
   mwid CDATA #IMPLIED
>
<!ELEMENT parm EMPTY>
<!ATTLIST parm
      name CDATA #REQUIRED
   value CDATA #IMPLIED
   datatype (integer|string|float|boolean|binary|          multiplestring) #IMPLIED
   semantic-type CDATA #IMPLIED
      maxvalue CDATA #IMPLIED
      minvalue CDATA #IMPLIED
      maxlength CDATA #IMPLIED
      options CDATA #IMPLIED
      multiple (1|0) #IMPLIED
   rw-access (1|2|3) "3"
   label CDATA #IMPLIED
   nooverwrite (1|0) "0"
   access-role CDATA #IMPLIED 
   translation CDATA #IMPLIED
>
<!ELEMENT nocharacteristic EMPTY >
<!ATTLIST nocharacteristic
      type CDATA #REQUIRED
      mwid CDATA #IMPLIED
>
<!ELEMENT noparm EMPTY>
<!ATTLIST noparm
      name CDATA #REQUIRED
   value CDATA #IMPLIED
>
<!ELEMENT characteristic-query EMPTY >
<!ATTLIST characteristic-query
      type CDATA #REQUIRED
   recursive CDATA #IMPLIED
   mwid CDATA #IMPLIED
>
<!ELEMENT parm-query EMPTY>
<!ATTLIST parm-query
      name CDATA #REQUIRED
>
<!ELEMENT characteristic-error EMPTY>
<!ATTLIST characteristic-error
      type CDATA #REQUIRED
      desc CDATA #IMPLIED
>
<!ELEMENT parm-error EMPTY>
<!ATTLIST parm-error
      name CDATA #REQUIRED
      value CDATA #IMPLIED
      desc CDATA #IMPLIED
>
<!ELEMENT noparm-error EMPTY>
<!ATTLIST noparm-error
      name CDATA #REQUIRED
   desc CDATA #IMPLIED
>
<!ELEMENT nocharacteristic-error >
<!ATTLIST nocharacteristic-error
      type CDATA #REQUIRED
      desc CDATA #IMPLIED
>
<!ELEMENT characteristic-query-error >
<!ATTLIST characteristic-query-error
      type CDATA #REQUIRED
      desc CDATA #IMPLIED
>
<!ELEMENT parm-query-error EMPTY>
<!ATTLIST parm-query-error
      name CDATA #REQUIRED
      desc CDATA #IMPLIED

>

See Also

Provisioning XML File Examples | MSPROV DTD Elements

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.