Importing lab resources using XML

Hi
In a developerworks article I was reading is stated:
Does anyone know how to do this ?. Also, are there any examples of how to import physical and virtual machines using XML ?
Thanks in Advance
Rob