Subject: IPP> non uu XML scheme

From: Josh Cohen <[email-masked]>
Date: Fri, 23 Jan 1998 23:33:34 -0800

An example print-job XML schema based on my DTD.

PRINT /vic20/dot-matrix HTTP/1.1
Content-type: multipart/related ;
boundary="--bigrandomMD5string";type="text/xml"

--bigrandomMD5string
Content-type: text/xml

<?XML version "1.0"?>
<!DOCTYPE ipp-request SYSTEM "ipp.dtd">
<ipp.request>
	<prologue>
		<message.version>1.0</message.version>
		<operation.type>print-job</operation.type>
	</prologue>

	<oper.attr>
		<printer-uri>http://colorprinter</printer-uri>
		<attributes.charset>en</attributes.charset>
	
<attributes.natural.language>en</attributes.natural.language>
		<requesting.user>mailto:[email-masked]</requesting.user>
		<requesting.user.name>Josh Cohen</requesting.user.name>
	</oper.attr>

<!-- this entire section can be omitted -->
	<job.attr>
		<document.name>Please use XML!</document.name>
		<document.format>
application/Atari_ST_GEMWrite</document.format>
	</job.attr>
<!-- end of optional job.attr section -->

<!-- this datalink ref isnt required -->
	<datalinkURI>CID:foobar-my-data</datalinkURI>
<!-- this link points to another part in this -->
<!-- multipart mime message-->
</ipp.request>
--bigrandomMD5string
content-type: application/Atari_ST_GEMWrite
content-id:foobar-my-data
conent-length: ??

[beginning of binary content]
...
[ending of binary content]
--bigrandomMD5string--
[--end of message --]

---
Josh Cohen <[email-masked]>
Program Manager - Internet Technologies