Xml Generation: Part II

Just a spike/work in progress.
:laughing: