3 ms·
I have entire environments marked up as XML, including application servers and various parameters, database clusters and their replication parameters/partners e
by nineteen999 8y ago
I have entire environments marked up as XML, including application servers and various parameters, database clusters and their replication parameters/partners etc.
This feeds into automation for everything from inventory/hostvars for ansible, DNS zone file contents, DHCP configuration, placement of VM's on VMware hosts etc. Clear yet flexible structure and the ability to have attributes on the nodes itself as well as data within them makes it so much more versatile than YAML or JSON for me.
Add to that XPath queries etc. xmllint/xmlstarlet/python+lxml are so useful, every time I try to process JSON with tools like jq I feel like I am going crosseyed.
- edejong 8y agoYes, and editors with tab completion and validation based on XML schemas.