rough outline of xml assembly