コンポーネント: データ
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
要素: データ / ファイル
名前空間 |
http://schemas.google.com/dspl/2010 |
図 |
 |
タイプ |
xs:string の拡張 |
プロパティ |
|
属性 |
QName |
タイプ |
固定 |
デフォルト |
使用 |
Annotation |
エンコード |
xs:string |
|
utf-8 |
省略可 |
ファイル内のデータのエンコード。 |
形式 |
xs:string |
|
csv |
省略可 |
ファイル内のデータの形式。実装に関する注意事項:
現在 Google Cloud でサポートされているのは CSV のみ
。 |
|
ソース |
<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 |
アノテーション |
テーブルのデータ。 |
図 |
 |
使用者 |
|
モデル |
ファイル |
子供 |
ファイル |
ソース |
<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>
|
属性: データ / ファイル / @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 エディタ。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[[["わかりやすい","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"]],["最終更新日 2025-07-25 UTC。"],[[["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"]]