Component: Data
Stay organized with collections
Save and categorize content based on your preferences.
outlined_flag
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.
Element: Data / file
Namespace
http://schemas.google.com/dspl/2010
Diagram
Type
extension of xs:string
Properties
Attributes
QName
Type
Fixed
Default
Use
Annotation
encoding
xs:string
utf-8
optional
The encoding of data in the file.
format
xs:string
csv
optional
The format of the data in the file. Implementation note:
CSV is the only format currently supported by the Google
importer.
Source
<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 >
Complex Type: Data
Namespace
http://schemas.google.com/dspl/2010
Annotations
Data for a table.
Diagram
Used by
Model
file
Children
file
Source
<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 >
Namespace
No namespace
Annotations
The format of the data in the file. Implementation note: CSV is
the only format currently supported by the Google importer.
Type
xs:string
Properties
use:
optional
default:
csv
Used by
Source
<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 >
Attribute: Data / file / @encoding
Namespace
No namespace
Annotations
The encoding of data in the file.
Type
xs:string
Properties
use:
optional
default:
utf-8
Used by
Source
<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 >
Created using the
oXygen XML Editor .
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-06-26 UTC."],[],["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"]]