Not all the elements accepts text formatted used HTML.
In case an element is allowed to contain HTML text, such text needs to be inserted into a CDATA
block.
This is needed so that no HTML is erronously interpretated as XML, making the document not valid.
<text-element>
<![CDATA[<p><b>Lorem ipsum</b> dolor sit amet, consectetuer adipiscing elit.</p>
<p>Suspendisse molestie <b>odio</b> nec nunc. Duis id est.
<br />Cras risus diam, placerat non, facilisis at, lacinia sed, neque.</p>]]>
</text-element>
Decimal values must always be presented with the dot .
used as decimal separator.
<element value="12345.678" />
When presenting a value that represents a date, a time or both, the standard ISO 8601 must be followed.
Dates must follow the YYYY-MM-DD
format, where
YYYY
refers to a four-digit yearMM
refers to a zero-padded two-digit month of the year, between 01 and 12DD
refers to a zero-padded two-digit day of the month, between 01 and 31
<element value="2018-04-24" />
Time values must follow the hh:mm:ss
format, where
hh
refers to a zero-padded hour between 00 and 23mm
refers to a zero-padded minute between 00 and 59ss
refers to a zero-padded second between 00 and 59
<element value="16:12:20" />
Values that combine date and time will follow the YYYY-MM-DDThh:mm:ss
format, where
T
is a separator between the date and the time part of the value- Other tokens follow the guidelines explained earlier
<element value="2018-04-24T16:12:20" />