# Repost: On the Advantages of XML

DevFeed: [Repost: On the Advantages of XML](<https://devfeed.tech/articles/repost-on-the-advantages-of-xml-11188.md>)

Original publisher: [Read original article](<https://blog.ipspace.net/2025/05/repost-xml-advantages/>)

Published: 2025-05-26T06:07:00Z

Content type: article

Language: en

Sources: [ipSpace.net blog](<https://devfeed.tech/sources/ipspace-net-blog.md>)

Topics: [XML](<https://devfeed.tech/topics/xml.md>), [JSON](<https://devfeed.tech/topics/json.md>), [NETCONF](<https://devfeed.tech/topics/netconf.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Python](<https://devfeed.tech/topics/python.md>), [ChatGPT](<https://devfeed.tech/topics/chatgpt.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [automation](<https://devfeed.tech/tags/automation.md>), [chatgpt](<https://devfeed.tech/tags/chatgpt.md>), [json](<https://devfeed.tech/tags/json.md>), [netconf](<https://devfeed.tech/tags/netconf.md>), [python](<https://devfeed.tech/tags/python.md>), [xml](<https://devfeed.tech/tags/xml.md>)

## AI overview

This reposted discussion examines XML and JSON for network automation. It argues that XML's semantic structure can support reliable, maintainable automation despite XML's size and complexity, while describing mixed results from ChatGPT-generated XPath and Python code, including failures in a fuller ncclient solution.

## Source excerpt

Continuing the discussion started by my Breaking APIs or Data Models Is a Cardinal Sin and Screen Scraping in 2025 blog posts, Dr. Tony Przygienda left another thoughtful comment worth reposting as a publicly visible blog post: Having read your newest rant around my rant ;-} I can attest that you hit the nail on the very head in basically all you say: XML output big? yeah. JSON squishy syntax? yeah. SSH prioritization? You didn't live it until you had a customer where a runaway python script generated 800+ XML netconf sessions pumping data ;-) Read more ...