СтрокаXML = "
|<Structure xmlns=""http://v8.1c.ru/8.1/data/core""
| xmlns:xs=""http://www.w3.org/2001/XMLSchema""
| xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"">
| <Property name=""Текст"">
| <Value xsi:type=""xs:string"">Салют!</Value>
| </Property>
| <Property name=""Пи"">
| <Value xsi:type=""xs:decimal"">3.14</Value>
| </Property>
| <Property name=""Массив"">
| <Value xsi:type=""Array"">
| <Value xsi:type=""xs:decimal"">2</Value>
| <Value xsi:type=""xs:decimal"">3</Value>
| <Value xsi:type=""xs:decimal"">1</Value>
| </Value>
| </Property>
| <Property name=""Сегодня"">
| <Value xsi:type=""xs:dateTime"">2025-06-30T14:29:33</Value>
| </Property>
|</Structure>";
ЧтениеXML = Новый ЧтениеXML;
ЧтениеXML.УстановитьСтроку(СтрокаXML);
Данные = СериализаторXDTO.ПрочитатьXML(
ЧтениеXML);
ЧтениеXML.Закрыть();
Сообщить("Текст: " + Данные.Текст);
Сообщить("Пи: " + Данные.Пи);