Component: Value
Stay organized with collections
Save and categorize content based on your preferences.
Complex Type: Value
Namespace |
http://schemas.google.com/dspl/2010 |
Annotations |
An atomic data value. |
Diagram |
 |
Type |
extension of xs:string |
Used by |
|
Attributes |
QName |
Type |
Fixed |
Default |
Use |
Annotation |
lang |
|
|
|
optional |
|
|
Source |
<xs:complexType name="Value">
<xs:annotation>
<xs:documentation>An atomic data value.</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute ref="xml:lang" use="optional">
<xs:annotation>
<xs:documentation>The language/locale that applies to the value.
See [BCP 47] for possible values of the xml:lang
attribute.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
|
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."],[[["`Value` is a complex type that represents an atomic data value, extending the `xs:string` type."],["It is primarily used within the `ValuesGroup` element to define data values."],["This type allows specifying the language of the value using the `xml:lang` attribute, optionally referencing [BCP 47] for valid language codes."]]],["The content defines a \"Value\" as an atomic data element within the `http://schemas.google.com/dspl/2010` namespace. This \"Value\" is an extension of `xs:string`, allowing it to be any string. It is used by the `ValuesGroup/value` element. It includes an optional attribute, `xml:lang`, which is used to specify the language or locale of the value, as per BCP 47. This is defined using the `xs:complexType` and `xs:extension` to define its structure and properties.\n"]]