XDTOSerializer.XMLString

Syntax:

XMLString(<Value>)

Parameters:

<Value> (required)

Type: Undefined; Null; Boolean; Number; String; Date; UUID; BinaryData; ValueStorage; enumeration values, system enumeration values (AccountType; AccountingRecordType; AccumulationRecordType; AllowedSign; AllowedLength; DateFractions) or all references to database objects.
A value which requires obtaining string presentation that can be used as an item text or XML attribute value. The following value types can be used as an XML string: Null, Boolean, Number, String, Date, UUID, BinaryData, ValueStorage and all references to database objects.

Returned value:

Type: String.

Description:

Obtains the XML presentation of the value to be inserted into the item text or the XML attribute value.
XML presentation types of the 1C:Enterprise 8 platform:
  • "String" - as it is;
  • "Boolean": "True", "False";
  • "Date" - XML presentation matches the dateTime type presentation of an XML Schema (see http://www.w3.org/TR/xmlschema-2/#dateTime);
  • "Number" - XML presentation matches the decimal type presentation of an XML Schema (see http://www.w3.org/TR/xmlschema-2/#decimal);
  • System enumeration value (for enumerations that support XML serialization) - enumeration value name;
  • "UUID" - string presentation of reference UUID;
  • "References" - XML presentation of reference UUID;
  • "ValueStorage" and "BinaryData" UUID - a string in the base64 format.

Availability:

Thin client, server, thick client, external connection, Mobile application (client), Mobile application (server).

    

1C:Enterprise Developer's Community