Skip to main content


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.

from langchain_community.document_loaders import UnstructuredXMLLoader

loader = UnstructuredXMLLoader(
docs = loader.load()
API Reference:UnstructuredXMLLoader

Was this page helpful?

You can also leave detailed feedback on GitHub.