Here is the thing: I do not wish (yet) to do some operation in a vm via libvirt.
What I want to do is take the libvirt relaxng schemas and get java classes from them. This way I can produce an xml configuration file representing a virtual machine. Later on this file is going to be used in an operation that registers a machine into a hypervisor in order to be able to (for example) power it on.
So, my initial idea was to convert the relaxng schemas into xsd. Tried relaxer and trang, this is not really working.
Are there any good alternatives?