Note: Cisco has renamed CCNA DevNet to CCNA Automation. The DEVASC 200-901 associate-level exam content remains unchanged.
In this video, we’ll learn how to parse XML data into Python data structures — a critical skill for network automation and working with APIs that return XML responses.
We’ll break down an example XML file, use Python's built-in xml.etree.ElementTree library, and walk through how to access elements, attributes, and convert XML into useful Python data like dictionaries and lists.
We’re continuing our journey through Section 1.2 of the Cisco DevNet Associate course!
Previously, we looked at the differences between XML, JSON, and YAML — three commonly used data formats in network automation. Now it's time to go a step further and see how to work with XML programmatically in Python.
By the end of this lesson, you’ll not only understand how to parse XML but also be able to apply it in real-world network automation workflows — a key part of preparing for the Cisco 200-901 DevNet Associate exam.
🎯 Who Is This For?
🔹 Aspiring network automation engineers
🔹 Network pros transitioning into DevOps/NetDevOps
🔹 Anyone preparing for the Cisco DevNet Associate certification
🔹 Anyone looking to better understand and work with XML in Python
Visit my blog for more information and posts:
https://ieverythingeverywhere.com/how...
👍 If this video helped, don’t forget to Like & Subscribe for more tech insights, share it with your peers, and drop your questions in the comments—I read them all!
If you would like to help me more, kindly donate for my channel improvement funds the link is below:
https://buymeacoffee.com/ieverythinge...
📌 Timestamps:
00:08 – Introduction
01:25 - Interpreting an XML Data
03:10 - How to parse data from an XML file in Python
#xml_file #devnet #devasc #parse_data_in_python