Figure 1 shows an XML Infoset prior to XOP processing. Figure 2 shows the same Infoset, serialized using the XOP format. The base64 character children of the m:photo and m:sig elements have been replaced by a xop:Include element, while the binary octets have been serialized in a seperate MIME part.
Figure 1
/aWKKapGGyQ=
Faa7vROi2VQ=
Figure 2
MIME-Version: 1.0
Content-Type: Multipart/Related; boundary=MIME_boundary;type=text/xml;start=""
Content-Description: An XML document with my picture and signature in it
--MIME_boundary
Content-Type: text/xml; charset=UTF-8
Content-Transfer-Encoding: 8bit
Content-ID:
--MIME_boundary
Content-Type: image/png
Content-Transfer-Encoding: binary
Content-ID:
// binary octets for png
--MIME_boundary
Content-Type: application/pkcs7-signature
Content-Transfer-Encoding: binary
Content-ID:
// binary octets for signature
--MIME_boundary--