共用方式為


3.1.1.1 Populating the Data Model

The server implementation needs to extract information for the data model from the update metadata. Except as specified in the following table, the update metadata does not need to be interpreted by the server. Because the metadata is well-formed XML, the properties specified in the following table can all be extracted using XPATH queries, as specified in [XPATH].

The following properties are extracted from the metadata by using the XPATH queries shown in the following table. The other sections of this document indicate what property is being extracted from the metadata.

 Property

 XPATH

UpdateType

/Update/Properties/@UpdateType

CategoryType

/Update/HandlerSpecificData/CategoryInformation/@CategoryType

EulaID

/Update/Properties/@EulaID

FileDigest

/Update/Files/File[]/@Digest

PatchingType

/Update/Files/File[]/@PatchingType

FileName

/Update/Files/File[]/@FileName

FragmentType<24>

/Update/Properties/SecuredFragment

IsEncrypted<25>

/Update/Files/File[]/@IsEncrypted