<bs:text>
10-05-2020
<bs:text datatype="date" xmlns:bs="http://www.bootstrap-cms.org">2020-05-10</bs:text>
2020-05-10
Key Attributes
| Attribute | Datatype | Description |
|---|---|---|
| @select | xs:string | XPath select |
| @datatype | xs:string with enumeration | converts value to datatype |
| @std-id | xs:string | standard text ID |
| @escape | xs:boolean [false] | xml escape |
| @whitespace | [preserve | trim | normalize] | correct whitespaces |
| @case | @autocapitalize | [uppercase | lowercase | camelcase] | letter case |
| @formatting | xs:string | |
| @localize | [ISO | EU | US] or [dot | comma] | |
| @thousands | xs:boolean [true] | |
| @decimals | xs:nonNegativeInteger | 2 |
| @showTimezone | xs:boolean [false] | |
| @timezone | (+|-)HH:mm or [server | region | local | user | none] | |
| @min | xs:datetime | |
| @max | xs:datetime | |
| @date-separator | xs:string | - |
| @time-separator | xs:string | : |
| @datetime-separator | xs:string | T |
Childs
<lang>
English
−
<bs:text xmlns:bs="http://www.bootstrap-cms.org">
<bs:lang code="en" default="true">English</bs:lang>
<bs:lang code="da">Dansk</bs:lang>
<bs:lang code="th">Thai</bs:lang>
</bs:text>
[3 lines]
English Dansk Thai
Attributes
| Attribute | Datatype | Description |
|---|---|---|
| @code | xs:language | define the language to be shown |
| @default | xs:boolean | sets the selected language as default language |