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

# XML Parser Stage

[localhost link]: http://localhost:3000/docs/5/fusion/reference/config-ref/parser-stages/xml-parser

[mintlify link]: https://doc.lucidworks.com/docs/5/fusion/reference/config-ref/parser-stages/xml-parser.md

[old doc.lw link]: https://doc.lucidworks.com/fusion/5.9/372.md

The XML parser stage parses whole XML documents by default, but it can also be configured to parse only specific nodes without loading the entire document into memory. It can also split an XML document into multiple documents. XPATH-like expressions are used to select specific nodes to parse, such as `/posts/row` or `/posts/record`. Nested XML elements are flattened.

> [card] Key questions to get you started
>
> Powered by Lucidworks Agent Studio

To create new documents from selected elements, configure `rootPaths`.

> [!NOTE]
>
> The XML Transformation index pipeline stage is deprecated in favor of this parser stage.

> [!TIP]
>
> When entering configuration values in the UI, use *unescaped* characters, such as `\t` for the tab character. When entering configuration values in the API, use *escaped* characters, such as `\\t` for the tab character.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.