XMLYAML
XMLYAML is a proposed data interchange format that seeks to combine XML’s hierarchical, attribute-rich model with YAML’s human-friendly syntax. It aims to allow data to be serialized into a form that remains compatible with XML-aware workflows while being easier for humans to read and edit. There is no widely adopted standard for XMLYAML, and existing implementations are mainly experimental or targeted at specific toolchains.
Its design centers on mapping XML constructs to YAML equivalents. Elements are represented as mappings or sequences,
An illustrative conversion can help clarify the idea. Consider the XML:
<person id="123" xmlns="http://example.org">
<phone type="mobile">555-1234</phone>
<phone type="work">555-5678</phone>
A corresponding XMLYAML representation might be:
Adoption and tooling for XMLYAML remain limited. Some projects explore it to bridge XML-based data stores