How to Extract Data from an XML File

  • 12 August 2019
  • 0 replies
How to Extract Data from an XML File
Userlevel 6
Badge +6
In this article, we will learn how to extract data from an XML file using the AIMMS XML schema mapping tool. You can apply the process to whatever data you like, but we'll use a breakfast menu as a simple example.

File formats related to XML

  • XML (EXtensible Markup Language) is a format optimized to transport data with a given hierarchical structure. It can be seen as a tree containing elements. Those elements can contain child elements, data, and parameters. Each parameter contains one piece of information about the element.
  • XSD (XML Schema Definition) is a file used as a schema for an XML file. It defines the elements and attributes which can be used, their hierarchy, data types, and can also define fixed values.
  • AXM is used in AIMMS as a mapping file. It specifies links between the XML elements and AIMMS objects.

Use Case


0 replies

Be the first to reply!


Didn't find what you were looking for? Try searching on our documentation pages:

AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator