+ 1
How can we make xml data as object using Python?
I have large xml data and i want to read it through model (data structure). Like, .net give us functionality to paste as xml classes or paste as json classes. So is there any way to do this? Or i have make object manually
1 Answer
+ 3
from lxml import objectify
main = objectify.fromstring(xml)