Skip to main content
This guide provides a quick overview for getting started with UnstructuredXMLLoader document loader. The UnstructuredXMLLoader is used to load XML files. The loader works with .xml files. The page content will be the text extracted from the XML tags.

Overview

Integration details

Loader features

Setup

To access UnstructuredXMLLoader document loader you’ll need to install the langchain-community integration package.

Credentials

No credentials are needed to use the UnstructuredXMLLoader To enable automated tracing of your model calls, set your LangSmith API key:

Installation

Install langchain_community.

Initialization

Now we can instantiate our model object and load documents:

Load

Lazy load


API reference

For detailed documentation of all __ModuleName__Loader features and configurations head to the API reference: python.langchain.com/api_reference/community/document_loaders/langchain_community.document_loaders.xml.UnstructuredXMLLoader.html