🚀 Welcome to MDriven Learn –  MDriven is now on Discord!  Don’t miss the latest Release Notes.
OCLOperators XmlToObjects
Created by Stephanie on 2025-01-09 · Last edited by Sandra.akech on 2025-12-12.

XmlToObjects takes structured XML data and automatically creates matching objects in your model, making data import fast, accurate, and easy.


How It Works

Model:

Class: Person

Attributes:

  • Name (String)
  • Age (Integer)

Xml:

<Person>
  <Name>Sandra</Name>
  <Age>25</Age>
</Person>

Run:

XmlToObjects(myXmlString)

Result:

A new Person object is created with:

  • Name = "Sandra"
  • Age = 25

No manual data entry required.