Content Types Stream Markup Example

example:

Example 9–7. Content Types stream markup

<Types 
   xmlns="http://schemas.openxmlformats.org/package/2006/content-types">
   <Default Extension="txt" ContentType="text/plain" />
   <Default Extension="jpeg" ContentType="image/jpeg" />
   <Default Extension="picture" ContentType="image/gif" />
   <Override PartName="/a/b/sample4.picture" ContentType="image/jpeg" />
</Types>

The following is a sample list of parts and their corresponding content types as defined by the Content Types stream markup above.

Part name

Content type

/a/b/sample1.txt

text/plain

/a/b/sample2.jpg

image/jpeg

/a/b/sample3.picture

image/gif

/a/b/sample4.picture

image/jpeg