Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

...

Close Version 5 (Net) 

Группа действийAction group: XML

Описание

Закрывает контекст

...

Description

The action closes the context

Action icon

Image Modified

...

Settings of parameters

Свойство
Property
Англ. наименование
Description
Описание
Type
ТипПример заполненияОбязательность заполнения поляПараметры

Контекст

Context name

XML-контекст

Идентификатор контекста XMLДа

Особые условия использования

Отсутствуют.

Пример использования

Задача: получить коллекцию элементов с тегом AUTOR из XML файла Text.xml и закрыть контекст по работе с XML документом. 

Image Removed

Решение: воспользоваться действиями "Открыть", "Получить элементы по Xpath", "Закрыть". 

Реализация:

...

Filling exampleMandatory field
Parameters
ContextContext of the XML-documentRobin.XMLXML contextYes

Special conditions of use

None.

Example of use

Task

Get a collection of elements with the AUTHOR tag from an XML file Text.xml and close the context for working with an XML document.

Image Added

Solution

Use the "Load XML", "Get elements XPath", "Close" actions.

Implementation

  1. Assemble a robot scheme with the actions:
    Image Added
  2. Set the "Load XML" action parameter.
    Image Added
  3. Set the "Get elements XPath" action parameters.
    Image Added
  4. Set the "Close" action parameter.
    Image Added

  5. Click "Start" in the top panel.

Result

The program robot completed successfully. The collection of elements for the AUTHOR tag has been received. The context for working with an XML document is closed.

Результат:

Программный робот отработал успешно. Коллекция элементов для тега AUTHOR получена. Контекст по работе с XML-документом закрыт.