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

Ключ

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

Close Version 5 (Net) 

Action group

Закрыть  

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

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

Image Removed

Настройки

...

Контекст

...

XML-контекст

...

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

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

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

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

Image Removed

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

Реализация:

...

Description

The action closes the context

Action icon

Image Added

Settings of parameters

PropertyDescriptionTypeFilling 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.

Image Added

Результат:

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

Image Removed