> ## Documentation Index
> Fetch the complete documentation index at: https://docs.alumio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XML

> Read a stream as XML data. Supports whole file and incremental read methods.

Read a stream as XML data. Supports whole file and incremental read methods.

## Fields

### Read method

* **Whole file** — reads the entire XML response and supports the "Pattern to items" field.
* **Incremental** — streams through the file. Supports the "Path to incrementally read over" field.

### Pattern to items (whole file only)

Dot-notated path to the array within the parsed XML that contains the items to process. XML attributes are available under `@attributes`.

* Leave empty to treat the whole file as a single item.
* Use `products.product` to read items from `<products><product>...</product></products>`.

**Note:** Do not use `*` here. This field points to the array itself; the system automatically iterates over all elements.

### Path to incrementally read over (incremental only)

List of XML node names describing the path to stream over, e.g. `products`, `product` for `<products><product/></products>`.

### Automatically convert value's types

When enabled (default), values like `"-034"` are automatically cast to their native type (e.g. the number `-34`). Disable to keep all values as strings.
