---
title: "stream xml from file · RUAL Documentation"
description: "RUAL files block."
canonical: https://docs.rual.nl/block-types/files/function_stream_xml_from_file
language: en
---

# stream xml from file

This block is part of the [`files`](https://docs.rual.nl/block-types/files) group and was last modified in core [`v10.4.28`](https://docs.rual.nl/core-versions/100428).

- flow `flow`

- file required `file`

- batch (100) `number`

- delete `condition` If true: Will delete the file after the stream is complete

Default `false`

- element `value` Elements to stream

- collect children `array` Keep given child elements as array

- done `flow`

- success `condition`

- error `value`

- Iterator `execute_function`

A typical wiring for [stream xml from file](https://docs.rual.nl/block-types/files/function_stream_xml_from_file): a [function trigger](https://docs.rual.nl/block-types/globals/trigger_custom_function) starts the flow; [get file from assets](https://docs.rual.nl/block-types/files/file_from_assets) feeds the `file` pin; the function out pin wires to an [execute](https://docs.rual.nl/block-types/function%20execution/function_custom_execute_from_trigger) block.

![Studio canvas example for the stream xml from file block: typical wiring for stream xml from file.](https://docs.rual.nl/canvas-examples/function_stream_xml_from_file.png)

### Version history

Introduced in [`v10.4.28`](https://docs.rual.nl/core-versions/100428).
