XML Basics: Understanding Data Exchange

XML (Extensible Markup Language) is a structured text format used to exchange data between different systems. It uses tags to define data and organizes information in a hierarchical structure.

XML = Extensible Markup Language

A structured text format used to send data from one system to another.

  • Excel → rows & columns

  • JSON → key : value

  • XML → tags with data inside

XML is only for Data Exchange 

  • It is strict

  • It is structured

  • It is self-describing

  • Easy to validate

XML is a TREE and XML is hierarchical (parent → child). XML is tree structured data.

<Amount>1500</Amount> this is a Element. 

XML version and its information. Every API demands this as a XML first line.

<?xml version="1.0" encoding="UTF-8"?>

Example :  <name>John</name>

  • <name> → opening tag

  • John → value

  • </name> → closing tag

More Dynamics 365 and X++ blogs