& < > 等保留字符必须转义。Convert TOML configuration into XML, mapping tables to nested elements for systems that require XML.
| Item | Formula / Note | Source / Standard |
|---|---|---|
| Root requirement | XML needs one root; the TOML root table becomes it | TOML v1.0.0 / W3C XML 1.0 |
| Arrays | array members become repeated child elements | W3C XML 1.0 |
| Typing | XML is untyped; keep dates and booleans as text | W3C XML 1.0 |