在哪里可以找到DOCX

在哪里可以找到DOCX

本文介绍了在哪里可以找到DOCX XML文件的XSD?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一个docx文件,并将其解压缩.现在我有:

I've created a docx file, unzipped it. Now I have:

  • _rels(文件夹)
  • docProps(文件夹)
  • 单词(文件夹)
  • [Content_Types] .xml
  • _rels (folder)
  • docProps (folder)
  • word (folder)
  • [Content_Types].xml

[Content_Types] .xml的内容为:

The content of [Content_Types].xml is:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">
    <Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/>
    <Default Extension="xml" ContentType="application/xml"/>
    <Override PartName="/word/document.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml"/>
    <Override PartName="/word/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml"/>
    <Override PartName="/word/settings.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml"/>
    <Override PartName="/word/webSettings.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.webSettings+xml"/>
    <Override PartName="/word/fontTable.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml"/>
    <Override PartName="/word/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/>
    <Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/>
    <Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"/>
</Types>

在哪里可以找到[Content_Types] .xml的xsd模式文件?

Where can I find [Content_Types].xml's xsd schema file?

(" http://schemas.openxmlformats.org/package/2006/content-类型"-不是常规网页,也不包含与xsd相关的内容...)

("http://schemas.openxmlformats.org/package/2006/content-types" - is not a regular web page, nor contains something related to xsd...)

推荐答案

[Content_Types] .xml 定义了Open Packaging Conventions容器文件技术中包装部件的MIME媒体类型,该技术是其中的一部分OOXML.

[Content_Types].xml defines the MIME media types for the package parts in Open Packaging Conventions container-file technology that's a part of OOXML.

请参见标准ECMA-376 网站,任何版本的> Part 2 ,适用于OPC XSD,包括您要搜索的opc-contentTypes.xsd.它是这样开始的:

See the Standard ECMA-376 site, Part 2 of any edition, for the OPC XSDs, including the opc-contentTypes.xsd which you seek. It starts like this:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<xs:schema xmlns="http://schemas.openxmlformats.org/package/2006/content-types"
  xmlns:xs="http://www.w3.org/2001/XMLSchema"
  targetNamespace="http://schemas.openxmlformats.org/package/2006/content-types"
  elementFormDefault="qualified" attributeFormDefault="unqualified"
  blockDefault="#all">

  <xs:element name="Types" type="CT_Types"/>

第4部分具有OOXML其他部分的参考和XSD,例如WordprocessingML,SpreadsheetML,PresentationML,DrawingML,共享ML和自定义XML架构.

Part 4 has references and XSDs for other parts of OOXML such as WordprocessingML, SpreadsheetML, PresentationML, DrawingML, Shared MLs and Custom XML Schema.

这篇关于在哪里可以找到DOCX XML文件的XSD?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 05:44