EasyXMLParser

November 30, 2025 · View on GitHub

⚠️ Important Notice: Repository Archived

This repository has been archived and is now read-only.

Current status:

  • This open-source version is no longer actively maintained
  • The repository remains publicly accessible in read-only mode
  • You can continue to fork, clone, and use the code under the MIT License terms

For Continued Support and Updates

If you wish to continue receiving updates and support, the commercial version is available on the Unreal Engine Marketplace:

Fab

The commercial version includes:

  • Ongoing development and updates
  • Official support
  • Additional features

For Current Users

If you plan to continue using this open-source version:

  • Please fork or clone this repository for your own use
  • All existing code remains available under the MIT License
  • You are free to maintain your own fork

Thank you for your support and contributions to this project.


EasyXMLParser is an XML parser for Unreal Engine.

You can get the value by using a simple access string.

To get a text node, create an access string for the value you want to get.

Access strings are created by connecting tag names with dots.

If there are multiple nodes with the same tag name, you can specify an index number starting from 0 (eg [2]-> third). If you do not specify the index, the first element will be acquired.

GALLERY 4

The access string for acquiring the attribute is specified by (at mark + attribute name).

GALLERY5

Get value

Acquisition of the value from XML prepares the following 4 functions.

  • ReadInt
  • ReadFloat
  • ReadString
  • ReadBool

Enter the access string in "AccessString".

Specify the default value for "DefaultValue".

If the specified value does not exist in the XML, a default value is returned.

GALLERY 1

Get object

There are also "ReadElement" and "ReadElements" methods that get nodes as objects rather than as values.

ReadElement gets one targeted node.

ReadElements gets an array of multiple nodes.

GALLERY 2

XML parsing method

There are two methods to load XML: "LoadFromFile" to load an XML file and "LoadFromString" to load an XML string.

There is also an asynchronous version that performs parsing in the background.

GALLERY 3