# CIBlockXMLFile

URL: https://chugunov.pro/api-bitrix/global/ciblockxmlfile/
Проверено на 1С-Битрикс 25.x, обновлено 03.08.2026.
Источник: независимый русскоязычный справочник chugunov.pro. Не является официальной документацией 1С-Битрикс.

Класс `\CIBlockXMLFile`
Модуль: Глобальные классы.

Исходный файл: `source/iblock/classes/mysql/cml2.php:9`

## Константы (3)

- `UNPACK_STATUS_CONTINUE`
- `UNPACK_STATUS_ERROR`
- `UNPACK_STATUS_FINAL`

## Свойства (9)

- `$$_sessid`
- `$$_table_name`
- `$$buf`
- `$$buf_len`
- `$$buf_position`
- `$$charset`
- `$$element_stack`
- `$$file_position`
- `$$read_size`

## Методы (26)

- [`__construct()`](https://chugunov.pro/api-bitrix/global/ciblockxmlfile/__construct/)
- [`_end_element()`](https://chugunov.pro/api-bitrix/global/ciblockxmlfile/_end_element/)
- [`_get_xml_chunk()`](https://chugunov.pro/api-bitrix/global/ciblockxmlfile/_get_xml_chunk/) — Внутренняя функция.
- [`_get_xml_chunk_mb()`](https://chugunov.pro/api-bitrix/global/ciblockxmlfile/_get_xml_chunk_mb/) (устаревший) — Внутренняя функция.
- [`_get_xml_chunk_mb_orig()`](https://chugunov.pro/api-bitrix/global/ciblockxmlfile/_get_xml_chunk_mb_orig/) (устаревший) — Внутренняя функция.
- [`_start_element()`](https://chugunov.pro/api-bitrix/global/ciblockxmlfile/_start_element/)
- [`Add()`](https://chugunov.pro/api-bitrix/global/ciblockxmlfile/add/)
- [`CreateTemporaryTables()`](https://chugunov.pro/api-bitrix/global/ciblockxmlfile/createtemporarytables/)
- [`Delete()`](https://chugunov.pro/api-bitrix/global/ciblockxmlfile/delete/)
- [`DropTemporaryTables()`](https://chugunov.pro/api-bitrix/global/ciblockxmlfile/droptemporarytables/)
- [`EndSession()`](https://chugunov.pro/api-bitrix/global/ciblockxmlfile/endsession/)
- [`GetAllChildrenArray()`](https://chugunov.pro/api-bitrix/global/ciblockxmlfile/getallchildrenarray/)
- [`GetCountItemsWithParent()`](https://chugunov.pro/api-bitrix/global/ciblockxmlfile/getcountitemswithparent/)
- [`GetFilePosition()`](https://chugunov.pro/api-bitrix/global/ciblockxmlfile/getfileposition/)
- [`GetList()`](https://chugunov.pro/api-bitrix/global/ciblockxmlfile/getlist/)
- [`GetRoot()`](https://chugunov.pro/api-bitrix/global/ciblockxmlfile/getroot/)
- [`GetSessionRoot()`](https://chugunov.pro/api-bitrix/global/ciblockxmlfile/getsessionroot/)
- [`IndexTemporaryTables()`](https://chugunov.pro/api-bitrix/global/ciblockxmlfile/indextemporarytables/)
- [`initializeTemporaryTables()`](https://chugunov.pro/api-bitrix/global/ciblockxmlfile/initializetemporarytables/)
- [`IsExistTemporaryTable()`](https://chugunov.pro/api-bitrix/global/ciblockxmlfile/isexisttemporarytable/)
- [`isTableStructureCorrect()`](https://chugunov.pro/api-bitrix/global/ciblockxmlfile/istablestructurecorrect/)
- [`ReadXMLToDatabase()`](https://chugunov.pro/api-bitrix/global/ciblockxmlfile/readxmltodatabase/)
- [`static safeUnZip()`](https://chugunov.pro/api-bitrix/global/ciblockxmlfile/safeunzip/)
- [`StartSession()`](https://chugunov.pro/api-bitrix/global/ciblockxmlfile/startsession/)
- [`truncateTemporaryTables()`](https://chugunov.pro/api-bitrix/global/ciblockxmlfile/truncatetemporarytables/)
- [`static UnZip()`](https://chugunov.pro/api-bitrix/global/ciblockxmlfile/unzip/) (устаревший)

Оригинал в официальной документации: https://docs.1c-bitrix.ru/api/classes/CIBlockXMLFile.html
