Documents element

The required Documents element contains the list of documents to be printed in the current job.

Documents is defined in the namespace at this URI: https://schemas.microsoft.com/windows/2005/05/wdp/print and referenced by the prefix wprt. (This resource may not be available in some languages and countries.)

Usage

<wprt:Documents>
  child elements
</wprt:Documents>

Attributes

There are no attributes.

Text value

None

Child elements

Element Description

Document

Dontains all information about the current document.

Xxx

Any IHV-defined elements.

Parent elements

Element Description

ElementData Element for parent JobElements

Contains the job-specific element data that is returned to the client as a result of the GetJobElementsResponse operation element.

Job

Contains all elements associated with a print job.

Remarks

A job can contain one or more documents. Documents is the container element for all documents associated with the current job.

A client can query a job's Documents element through GetJobElementsRequest. The WSD Print Service returns this information in an ElementData element through the GetJobElementsResponse operation.

The following syntax block shows that you must also prefix the names of the child elements with the appropriate namespace (in this case wprt), to be certain that your name references apply to child elements in the correct namespace.

<wprt:Documents>
 <wprt:Document> data </wprt:Document>
  ...
</wprt:Documents>

See also

Document

ElementData Element for parent JobElements

GetJobElementsRequest

GetJobElementsResponse

Job

 

 

Send comments about this topic to Microsoft

Build date: 7/19/2012