Parsing XML with Namespaces with Python (xml.etree.ElementTree)
HTML-код
- Опубликовано: 22 дек 2020
- Example of approach for XML data with Namespaces using Python xml.etree.ElementTree
Reference: docs.python.org/3/library/xml...
Previous video, overview of the Python xlm.etree.ElementTree module: • Parsing XML files with...
Thank you!
Spended almost two days trying to resolve namespace issue, and than found this video, thank you.
This was EXACTLY what I was looking for but I didn't know it. Thank you!!
Thanks, it's very clear, most of the tutorials cover only the non namespaces xml
Francesco, thank you.
Thanks to you I now somewhat understand what is happening in the XML file I have, I did not know that is contained name spaces.
Within the first 6 minutes, I am writing this before I have read the comments or watched the whole video.
You have saved me hours of coding as I was going to write my own parser.
All the other video sorta, kinds, neglected this small detail!
Now after reading the comments, I see you have helped a LOT of people, thank you again.
Thank yopu so much, I was beginning to think I was cursed to manually write a text parser for these xml files forever.
Thank you Francesco for explaining this concept so easily with a demo.
Really cristal clear tutorial, I understand a lot of things I dindn't understand on XML namespaces, Thanks a lot Guy!
Tried to find a solutuion on stackoverflow and other pages, and this video was the solution, good examples, good explanation with actual codes run. Thank you!
Hey man! You just helped me to finish my parser! I do not know how, but I finally was able to find and change a text in each specific element in my XML file. I still do not understand, why I have to register the namespace, but it did the work perfectly. Your vide was really helpful. I didn't understood 70% of it for the 1st time, but now it's more clear to me. Thanks man!
Glad I could help!
This was a huge help. Thank you!
Superb, exactly what I needed to know. Thank you
That was SO helpful Dude. Thank you so much.
Really excellent explanation. Thank you so much.
Thanks for saving my day Francesco :)
Thanks a lot. It saved lot of my time
Super helpful, thanks a lot!
very helpful.... thank u ❤
Brilliant !!!
Thanks a lot
thank you
Nice job Francesco, thank you. I do have a question regarding your last example. How do you get x.tag without the namespace in it ?
After editing the xml file, I don't want the ns tag in each line. What should I do?
Can you help me with how to search absolute XPath in a xml that has name spaces as I donot want to implement code with relative path.
Can this be done with beautifulsoup?
Next time, please try to make your videos for phone users too. Thanks!
Hi. I have this xmlns and i tried every solution and i can't read the XML with this namespace:
.....
Some idea to solve this? :/
it is a xml, but the extension file is .vdx
Not enough information. What error do you get?
@@fcento hi thank you very much for your contributions, don't know why a while ago didn't compile but now it works, finally i do it with the solution that you recommended us on second 14:20