组件:数据
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
元素:数据 / 文件
命名空间 |
http://schemas.google.com/dspl/2010 |
图示 |
 |
类型 |
xs:string 的扩展 |
属性 |
|
属性 |
QName |
类型 |
固定 |
默认 |
使用 |
注解 |
编码 |
xs:string |
|
utf-8 |
可选 |
文件中数据的编码。 |
格式 |
xs:string |
|
csv |
可选 |
文件中数据的格式。植入注意事项:
CSV 是 Google 目前支持的唯一格式
导入程序。 |
|
来源 |
<xs:element name="file">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="format" type="xs:string" use="optional" default="csv">
<xs:annotation>
<xs:documentation>The format of the data in the file.
Implementation note: CSV is the only format
currently supported by the Google importer.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="encoding" type="xs:string" use="optional" default="utf-8">
<xs:annotation>
<xs:documentation>The encoding of data in the file.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
|
复杂类型:数据
命名空间 |
http://schemas.google.com/dspl/2010 |
注释 |
表格的数据。 |
图示 |
 |
使用方数量 |
|
型号 |
file |
儿童 |
file |
来源 |
<xs:complexType name="Data">
<xs:annotation>
<xs:documentation>Data for a table.</xs:documentation>
</xs:annotation>
<xs:choice>
<xs:element name="file">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="format" type="xs:string" use="optional" default="csv">
<xs:annotation>
<xs:documentation>The format of the data in the file.
Implementation note: CSV is the only format
currently supported by the Google importer.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="encoding" type="xs:string" use="optional" default="utf-8">
<xs:annotation>
<xs:documentation>The encoding of data in the file.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
|
命名空间 |
没有命名空间 |
注释 |
文件中数据的格式。实现注意事项:CSV 是
Google 导入工具目前支持的唯一格式。 |
类型 |
xs:string |
属性 |
而应使用以下命令: |
可选 |
default: |
csv |
|
使用方数量 |
|
来源 |
<xs:attribute name="format" type="xs:string" use="optional" default="csv">
<xs:annotation>
<xs:documentation>The format of the data in the file.
Implementation note: CSV is the only format
currently supported by the Google importer.</xs:documentation>
</xs:annotation>
</xs:attribute>
|
属性:Data / file / @encoding
命名空间 |
没有命名空间 |
注释 |
文件中数据的编码。 |
类型 |
xs:string |
属性 |
而应使用以下命令: |
可选 |
default: |
utf-8 |
|
使用方数量 |
|
来源 |
<xs:attribute name="encoding" type="xs:string" use="optional" default="utf-8">
<xs:annotation>
<xs:documentation>The encoding of data in the file.</xs:documentation>
</xs:annotation>
</xs:attribute>
|
使用
oXygen XML Editor。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-25。"],[[["The \"Data\" element is an extension of the xs:string type and is used to represent data for a table."],["Data is formatted as a \"file\" element which has optional \"format\" and \"encoding\" attributes."],["By default, the \"format\" attribute is set to \"csv\", and \"encoding\" is set to \"utf-8\"."],["While other formats may be specified for the \"format\" attribute, the Google importer currently only supports CSV."]]],["The core content defines the \"Data\" complex type, representing data for a table, which uses a \"file\" element. The \"file\" element has two optional attributes: \"format\" and \"encoding.\" \"Format\" specifies the data format, defaulting to \"csv,\" which is the only currently supported format. \"Encoding\" defines the character encoding of the data, defaulting to \"utf-8\". These attributes describe how the data in the file should be interpreted.\n"]]