История страницы
...
Close Version 5 (Net)
Группа действийAction group: XML
Описание
Закрывает контекст
...
Description
The action closes the context
Action icon
...
Settings of parameters
Property |
Description |
Type |
Контекст
XML-контекст
Особые условия использования
Отсутствуют.
Пример использования
Задача: получить коллекцию элементов с тегом AUTOR из XML файла Text.xml и закрыть контекст по работе с XML документом.
Решение: воспользоваться действиями "Открыть", "Получить элементы по Xpath", "Закрыть".
Реализация:
...
Filling example | Mandatory field | |||
Parameters | ||||
Context | Context of the XML-document | Robin.XML | XML context | Yes |
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.
Solution
Use the "Load XML", "Get elements XPath", "Close" actions.
Implementation
- Assemble a robot scheme with the actions:
- Set the "Load XML" action parameter.
- Set the "Get elements XPath" action parameters.
- Set the "Close" action parameter.
- 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-документом закрыт.