Reading data from an xml file in python

Hello all!

I have been experimenting with transfer of xml file between different
computers. I need help in reading an xml file in pyton. I want the data
in the xml file to be put into some variables. I have used minidom put
still could not work it out in an easy way. I would be grateful if
someone could post a complete code showing how could i retreive the
data in some variable in python in some easy way for the simple xml file
sample given below.

<?xml version="1.0" encoding="UTF-8"?> QAM 4 50

thanks

If you want to do it in C++, here’s an example:
https://www.cgran.org/browser/projects/radio_data_system/trunk/src/lib/gr_rds_data_encoder.cc

If instead you insist on doing it in python, try googling “xml python
example”

Dimitris S.
“If you think you’re too small to make a difference, try sleeping with
a mosquito!” - Amnesty International