OpenXML Content Types as an XML Document
(The line breaking is a bit funny, but it will copy and paste correctly to a text editor.)
This blog is inactive.
New blog: EricWhite.com/blog
If the RootNamespace element has text content, then the ContentType is for parts that contain XML.
<?xml version="1.0" encoding="utf-8"?>
<Root>
<Part>
<ContentType>Any content, support for which is application-defined.</ContentType>
<RootNamespace/>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/wordprocessingml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/comments</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/wordprocessingml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/wordprocessingml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/settings</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/wordprocessingml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/wordprocessingml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/wordprocessingml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/footer</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/wordprocessingml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/wordprocessingml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/glossaryDocument</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/wordprocessingml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/header</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/wordprocessingml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/wordprocessingml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/styles</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.wordprocessingml.webSettings+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/wordprocessingml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/spreadsheetml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/calcChain</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/spreadsheetml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/spreadsheetml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/comments</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/spreadsheetml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/connections</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty</ContentType>
<RootNamespace/>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/customProperty</SourceRelationship>
</Part>
<Part>
<ContentType>application/xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/spreadsheetml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/xmlMaps</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/spreadsheetml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.drawing+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/spreadsheetml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/spreadsheetml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/spreadsheetml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotTable</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/spreadsheetml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheDefinition</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/spreadsheetml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/spreadsheetml/pivotCacheRecords</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/spreadsheetml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/queryTable</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/spreadsheetml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/spreadsheetml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/revisionHeaders</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/spreadsheetml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/revisionLog</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/spreadsheetml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/usernames</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/spreadsheetml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/tableSingleCells</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/spreadsheetml/2006/mains</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/styles</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/spreadsheetml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/table</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/spreadsheetml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/volatileDependencies</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/spreadsheetml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheetSource</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.presentationml.commentAuthors+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/presentationml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/commentAuthors</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.presentationml.comments+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/presentationml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/comments</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.presentationml.handoutMaster+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/presentationml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/handoutMaster</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.presentationml.notesMaster+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/presentationml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/notesMaster</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.presentationml.notesSlide+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/presentationml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/notesSlide</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/presentationml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/presentationml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.presentationml.template.main+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/presentationml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.presentationml.presentationProperties+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/presentationml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/presProps</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.presentationml.slide+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/presentationml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/slide</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/presentationml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.presentationml.slideMaster+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/presentationml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.presentationml.slideUpdateInfo+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/presentationml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/slideUpdateInfo</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.presentationml.tags+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/presentationml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/tags</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.presentationml.viewProps+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/presentationml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/viewProps</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.drawingml.chart+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/drawingml/2006/chart</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/chart</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/drawingml/2006/chart</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/chartUserShapes</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/drawingml/2006/diagram</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramColors</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/drawingml/2006/diagram</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramData</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/drawingml/2006/diagram</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramLayout</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/drawingml/2006/diagram</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramQuickStyle</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.theme+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/drawingml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/theme</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.themeOverride+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/drawingml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/themeOverride</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.presentationml.tableStyles+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/drawingml/2006/main</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/tableStyles</SourceRelationship>
</Part>
<Part>
<ContentType>application/xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/officeDocument/2006/additionalCharacteristics</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml</SourceRelationship>
</Part>
<Part>
<ContentType>Any supported audio type.</ContentType>
<RootNamespace/>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/audio</SourceRelationship>
</Part>
<Part>
<ContentType>application/xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/officeDocument/2006/bibliography</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml</SourceRelationship>
</Part>
<Part>
<ContentType>application/xml</ContentType>
<RootNamespace>any XML allowed</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-officedocument.customXmlProperties+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/officeDocument/2006/customXmlDataProps</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-package.digital-signature-origin</ContentType>
<RootNamespace/>
<SourceRelationship>https://schemas.openxmlformats.org/package/2006/relationships/digital-signature/origin</SourceRelationship>
</Part>
<Part>
<ContentType>application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml</ContentType>
<RootNamespace>https://schemas.openxmlformats.org/package/2006/digital-signature</RootNamespace>
<SourceRelationship>https://schemas.openxmlformats.org/package/2006/relationships/digital-signature/signature</SourceRelationship>
</Part>
<Part>
<ContentType>Any supported control type.</ContentType>
<RootNamespace/>
<SourceRelationship>https://schemas.openxmlformats.org/officeDocument/2006/relationships/control<
Comments
- Anonymous
October 25, 2008
[Blog Map] While putting together the examples that use LINQ to XML to query Open XML documents, I needed