All,
I've got a need to port a bunch of libvirt tests that do a lot of xml
manipulation. Rather then just using xml.dom.minidom ad-hoc, I thought
a medium-level utility module might be generally useful elsewhere too.
Some examples to illustrate further:
A class or set of functions that is mindful of structure but content naive:
+ Attribute search, attribute search and replace, add/delete.
+ Element search, attribute search and replace, add/delete.
Another set that's value sensitive, but structure naive:
+ Template & list based dict2xml and xml2dict
+ others?
I looked around our codebase, but it seems what little xml code exists,
is ad-hoc. Does the above sound generally useful? If not, should I
confine it more toward virt in general, or keep it all libvirt specific?
Any ideas for other classes/functions you'd like to see?
Thanks.
--
Chris Evich, RHCA, RHCE, RHCDS, RHCSS
Quality Assurance Engineer
e-mail: cevich + `@' + redhat.com o: 1-888-RED-HAT1 x44214
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest