Displaying 1 result from an estimated 1 matches for "xpatheval".
Did you mean:
xpath_eval
2010 Oct 01
1
Python XML parsing of domain descriptions?
Does anyone know of a way to parse the libvirt XML into usable python data structures? Ideally, it would be something like foo['domain']['devices']['bridge'][0]['target'] or something of the sort. What I'm looking to accomplish is to figure out which tap interface goes with a specific domain.
I'm not keen on parsing XML to get that mapping, is there a