Document element
The required Document element contains all information about the current document.
Document 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:Document>
child elements
</wprt:Document>
Attributes
There are no attributes.
Text value
None
Child elements
Element | Description |
---|---|
Describes all attributes associated with the basic creation of the current document. |
|
Contains all of the requested processing attributes that are applicable at the document level. |
|
Xxx |
Any IHV-defined elements. |
Parent elements
Element | Description |
---|---|
Contains the list of documents to be printed in the current job. |
Remarks
Processing instructions for the Document are done at the job level. The Document element contains the DocumentDescription element and can contain the DocumentProcessing element. The instructions in the Document's DocumentProcessing element should be applied only to the current document and should override any settings supplied in the job's DocumentProcessing element. If neither Document nor Job provide document processing information, the WSD Print Service should use the device's default value.
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:Document>
<wprt:DocumentDescription> data </wprt:DocumentDescription>
<wprt:DocumentProcessing> data </wprt:DocumentProcessing>
...
</wprt:Document>
See also
ElementData Element for parent JobElements
Send comments about this topic to Microsoft
Build date: 7/19/2012